Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const TOOL_ICONS: Record<string, IconComponent> = {
research: Search,
scout: Search,
search: Search,
platform: Library,
context_compaction: Asterisk,
open_resource: Eye,
file: File,
Expand Down
1 change: 1 addition & 0 deletions apps/sim/app/workspace/[workspaceId]/home/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ export const SUBAGENT_LABELS: Record<string, string> = {
custom_tool: 'Custom Tool Agent',
scout: 'Scout Agent',
search: 'Search Agent',
platform: 'Platform Agent',
superagent: 'Superagent',
run: 'Run Agent',
agent: 'Tools Agent',
Expand Down
24 changes: 24 additions & 0 deletions apps/sim/lib/copilot/generated/tool-catalog-v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export interface ToolCatalogEntry {
| 'oauth_get_auth_link'
| 'oauth_request_access'
| 'open_resource'
| 'platform'
| 'promote_to_live'
| 'query_logs'
| 'query_user_table'
Expand Down Expand Up @@ -200,6 +201,7 @@ export interface ToolCatalogEntry {
| 'oauth_get_auth_link'
| 'oauth_request_access'
| 'open_resource'
| 'platform'
| 'promote_to_live'
| 'query_logs'
| 'query_user_table'
Expand Down Expand Up @@ -247,6 +249,7 @@ export interface ToolCatalogEntry {
| 'file'
| 'knowledge'
| 'media'
| 'platform'
| 'run'
| 'search'
| 'table'
Expand Down Expand Up @@ -3825,6 +3828,26 @@ export const OpenResource: ToolCatalogEntry = {
},
}

export const Platform: ToolCatalogEntry = {
id: 'platform',
name: 'platform',
route: 'subagent',
mode: 'async',
parameters: {
properties: {
task: {
description:
"A fully self-contained question about Sim — the platform agent sees none of this conversation, so include every name, id, constraint, and prior finding it needs. Example: 'what is the minimum schedule-trigger interval, and does it differ by plan?' or 'does the agent block persist memory across runs?'.",
type: 'string',
},
},
required: ['task'],
type: 'object',
},
subagentId: 'platform',
internal: true,
}

export const PromoteToLive: ToolCatalogEntry = {
id: 'promote_to_live',
name: 'promote_to_live',
Expand Down Expand Up @@ -5937,6 +5960,7 @@ export const TOOL_CATALOG: Record<string, ToolCatalogEntry> = {
[OauthGetAuthLink.id]: OauthGetAuthLink,
[OauthRequestAccess.id]: OauthRequestAccess,
[OpenResource.id]: OpenResource,
[Platform.id]: Platform,
[PromoteToLive.id]: PromoteToLive,
[QueryLogs.id]: QueryLogs,
[QueryUserTable.id]: QueryUserTable,
Expand Down
14 changes: 14 additions & 0 deletions apps/sim/lib/copilot/generated/tool-schemas-v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3696,6 +3696,20 @@ export const TOOL_RUNTIME_SCHEMAS: Record<string, ToolRuntimeSchemaEntry> = {
},
resultSchema: undefined,
},
platform: {
parameters: {
properties: {
task: {
description:
"A fully self-contained question about Sim — the platform agent sees none of this conversation, so include every name, id, constraint, and prior finding it needs. Example: 'what is the minimum schedule-trigger interval, and does it differ by plan?' or 'does the agent block persist memory across runs?'.",
type: 'string',
},
},
required: ['task'],
type: 'object',
},
resultSchema: undefined,
},
promote_to_live: {
parameters: {
type: 'object',
Expand Down
1 change: 1 addition & 0 deletions apps/sim/lib/copilot/tools/tool-display.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ const TOOL_TITLES: Record<string, string> = {
research: 'Research Agent',
scout: 'Scout Agent',
search: 'Search Agent',
platform: 'Platform Agent',
file: 'File Agent',
media: 'Media Agent',
browser: 'Browser Agent',
Expand Down