Delegate a heavy dev task to the worker model
run_dev_taskStarts an autonomous coding agent on an isolated git worktree to complete a development task. Returns a task ID for status polling.
Instructions
Starts an autonomous coding worker (on whatever model DELEGATE_MODEL points to) on an isolated git worktree. Returns a task_id immediately; poll with get_task_status, then fetch_task_result.
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": {
"spec": "<spec>",
"repo_path": "<repo_path>"
},
"name": "run_dev_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | Objective and constraints in natural language | |
| max_turns | No | ||
| repo_path | Yes | Absolute path to the target git repository | |
| timeout_ms | No | ||
| base_branch | No | ||
| test_command | No | ||
| max_budget_usd | No | ||
| definition_of_done | No |