run_start
Starts a subagent run for implement, review, or ask tasks and returns the result if it completes within the specified wait time.
Instructions
Start a subagent run. Returns the result if it finishes within wait_s.
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": {
"backend": "<backend>",
"kind": "<kind>",
"prompt": "<prompt>",
"cwd": "<cwd>"
},
"name": "run_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Absolute path. implement needs a linked git worktree | |
| kind | Yes | ||
| mode | No | ||
| role | No | ||
| agent | No | ||
| model | No | ||
| effort | No | ||
| prompt | Yes | ||
| wait_s | No | Seconds to wait for the result | |
| backend | Yes | ||
| timeout_s | No | ||
| output_schema | No | ||
| review_target | No | uncommitted | base:<ref> | commit:<sha> | |
| resume_session | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| reason | No | ||
| result | No | ||
| run_id | No |