You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/sim/app/api/mcp/copilot/route.ts
+3-5Lines changed: 3 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -122,12 +122,10 @@ Sim is a workflow automation platform. Workflows are visual pipelines of connect
122
122
123
123
1. \`list_workspaces\` → know where to work
124
124
2. \`create_workflow(name, workspaceId)\` → get a workflowId
125
-
3. \`sim_build(request, workflowId)\` → plan and build in one pass
125
+
3. \`sim_workflow(request, workflowId)\` → plan and build in one pass
126
126
4. \`sim_test(request, workflowId)\` → verify it works
127
127
5. \`sim_deploy("deploy as api", workflowId)\` → make it accessible externally (optional)
128
128
129
-
For fine-grained control, use \`sim_plan\` → \`sim_edit\` instead of \`sim_build\`. Pass the plan object from sim_plan EXACTLY as-is to sim_edit's context.plan field.
130
-
131
129
### Working with Existing Workflows
132
130
133
131
When the user refers to a workflow by name or description ("the email one", "my Slack bot"):
@@ -670,7 +668,7 @@ async function handleDirectToolCall(
670
668
671
669
/**
672
670
* Build mode uses the main chat orchestrator with the 'fast' command instead of
673
-
* the subagent endpoint. In Go, 'build' is not a registered subagent — it's a mode
671
+
* the subagent endpoint. In Go, 'workflow' is not a registered subagent — it's a mode
674
672
* (ModeFast) on the main chat processor that bypasses subagent orchestration and
675
673
* executes all tools directly.
676
674
*/
@@ -768,7 +766,7 @@ async function handleSubagentToolCall(
0 commit comments