create_workflow
Create specialist agents and run a sequential multi-agent workflow for goals needing multiple roles, with a shared budget across planner and worker.
Instructions
Create specialist agents and run a sequential multi-agent workflow.
Default roles are planner then worker, sharing budget_usd. Use when a goal needs more than one agent. Do not use to run a single existing agent (run_task). Side effects: creates agents + tasks and marks the workflow completed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"goal": "<goal>"
},
"name": "create_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | Shared goal given to each specialist agent. | |
| name | Yes | Workflow name. | |
| agents | No | Role names. Default planner then worker. | |
| budget_usd | No | Shared USD budget split across roles. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||