Send work to a background agent
send_to_workerQueue explicitly authorized tasks to a separate background CLI worker in a selected project; work continues when Desktop apps close or freeze.
Instructions
Queue explicitly authorized work to a separate background CLI worker in an explicitly selected, authorized project. This does not address, open or resume any Desktop chat. Generate requestId once and keep it for retries; an uncertain result must be inspected with read_worker_delivery, never resent under another ID. Use worker-relay tools for subsequent cross-agent delegation. Work continues independently when Desktop apps close or freeze.
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": {
"agent": "<agent>",
"cwd": "<cwd>",
"prompt": "<prompt>",
"requestId": "<requestId>"
},
"name": "send_to_worker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Absolute path to the explicitly selected and authorized project. | |
| agent | Yes | The separate CLI agent that will perform this authorized task. | |
| prompt | Yes | Complete authorized task brief, including context, scope, constraints and completion criteria. Never request a Desktop chat substitution. | |
| requestId | Yes | Generate once for this independent task and reuse for retries; inspect this ID after any uncertain delivery. |