handoff_start
Initiates a background job for long-running tasks and returns a job ID to monitor progress. Poll handoff_status to retrieve the result when done.
Instructions
Start a handoff as a background job and return a job id immediately.
Use this for long or agentic handoffs (deep reviews, multi-file refactors,
reading a huge document). Then poll `handoff_status(job_id)` to watch
progress stream in and collect the result when it's `done`. This is the
async path — it lets you keep working / check in periodically instead of
blocking on one long call.
Args mirror `handoff`. Returns a short job id string (pass it to
`handoff_status`). The job's own timeout is generous (default 30 min).
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": {
"prompt": "<prompt>",
"backend": "<backend>"
},
"name": "handoff_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| files | No | ||
| model | No | ||
| prompt | Yes | ||
| approve | No | ||
| backend | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |