plan_task
Analyze a coding task, break it into subtasks with assigned model tiers, and generate an execution plan with parallel waves for efficient agent orchestration.
Instructions
Ask the planner to analyse a coding task, decompose it into subtasks, and assign each subtask a model tier.
Returns an execution plan with:
analysis: the planner's reasoning
subtasks: list with id, description, tier, model, depends_on
waves: groups of subtask IDs that run in parallel
strategy: parallel | sequential | dag
Spawn one agent per subtask. Run waves in order — all subtasks within a wave run in parallel.
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": {
"task": "<task>"
},
"name": "plan_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Caller working directory for routing guard scoping | |
| task | Yes | Full description of the coding task |