agent_delegate
Delegate a task to an independent specialist AI agent session. The delegate runs with full tool access and returns its response. Useful for breaking complex tasks into subtasks. Max depth: 3.
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": {
"message": "<message>"
},
"name": "agent_delegate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Role for new agent (e.g. "Solana pool analyst", "route optimizer"). Ignored if resuming session. | |
| model | No | Model ID or alias (default: gpt-4o-mini) | |
| message | Yes | Task or question for the delegate agent | |
| session | No | Existing session ID to resume, or omit to create new session |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||