delegate_task
Hand a task from one agent to another (both owned by the caller). Required: to_agent_id. Optional: from_agent_id (default: the acting agent), task_todo_id, message. to_agent_id/from_agent_id take the agent id from list_agents OR its exact name (e.g. 'Termin-Assistent', case-insensitive), resolved only within this tenant; an unknown or ambiguous name is refused with the list of available agents (name = id). Without task_todo_id a one-time task is created for the receiver: it shows above the input of every Dev-Agent slot running that agent and under Delegations → Zwischen Agenten, and in the receiver's next run. If the receiver is a server-job agent (trigger_mode server_job) it is STARTED IMMEDIATELY (result: started=true) and works the task itself; otherwise a connected runner picks it up automatically if the tenant enabled automatic handoffs (limited per hour, last 24 hours only), else when someone clicks it there. Tell the person 'handed to ', never 'done', until the receiver confirms. Put everything the receiver needs into message, including where to send the result. The receiving agent's own permissions still apply. wait_for_result=true: the receiver is started right away (max 5 per hour per sender), reports back with report_task_result, and the result automatically RESUMES THIS SESSION (in a Dev-Agent session) — also after a 24 h timeout. Until then give the human nothing about it; present only the final result (delegate_to_user). Use get_delegation_status to look at the state. nur_info=true: PURE INFORMATION for the receiver (an FYI, nothing to do) — stored as already finished (status info), no task, never started, does not wake a scheduled/takt agent; the receiver sees it in its bootstrap (infoUebergaben). Use it whenever the receiver need not act; a normal handoff costs the receiver a full run.
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": {
"to_agent_id": "<to_agent_id>"
},
"name": "delegate_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Everything the receiving agent needs, including where to send the result | |
| nur_info | No | Information only: no task, no start, does not wake the receiver. | |
| priority | No | Priority | |
| to_agent_id | Yes | ID of the to agent | |
| session_name | No | Name of the sending session to resume with the result | |
| task_todo_id | No | ID of the task todo | |
| from_agent_id | No | ID of the from agent | |
| wait_for_result | No | Start the receiver now and resume this session with its result. |