delegate_to_agent
Assign a task directly to a chosen agent, bypassing automatic routing. Specify the target agent and task in natural language to control execution.
Instructions
Explicitly route a task to a specific agent, overriding auto-routing
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": {
"sessionId": "<sessionId>",
"agentId": "<agentId>",
"task": "<task>"
},
"name": "delegate_to_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Task description | |
| agentId | Yes | Target agent ID | |
| sessionId | Yes | Session ID | |
| autoCloseTerminal | No | If true, terminal window closes automatically after task completes. Default: false (stays open for review). |