delegate
Assign code edits to another agent and get a task handle (async) or wait (sync), with changed files returned for review; no commits are made.
Instructions
Another agent edits code here, no commits; returns task_handle (mode async default) or waits (sync), plus files seen changing. Review it.
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": "delegate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loop | No | Server checks, review. | |
| mode | No | async (default) or sync; see consult. | |
| task | Yes | Change and acceptance; name files, do not paste. | |
| model | No | Omit unless the user names a model or price limit. doctor lists models, efforts and prices; unknown names fail. Tag ask: ask the user first, a form follows; deny: never runs. | |
| scope | No | Paths it may edit. | |
| checks | No | Commands. | |
| backend | No | As in consult. | |
| request_id | No | ||
| timeout_ms | No | Monotonic budget, ms: sync 15m/30m, async 60m/4h. | |
| parent_task | No | ||
| root_handle | No | ||
| session_handle | No | Follow-up footer handle; else fresh agent. | |
| workspace_path | No | Repo path; omit for client workspace. | |
| reasoning_effort | No | As in consult. | |
| output_price_below | No | User limit, USD per million output tokens, strict (5 excludes 5). Only verified prices qualify; server picks default or newest. |