delegate_tasks
Hand SEVERAL tasks to other agents as ONE group, with dependencies (fan-out/fan-in). teile: [{schluessel, to_agent_id, message, nach?: [schluessel…]}]. A part with nach waits (status wartend) until all named parts are done, then starts with their results appended to its message ("Ergebnisse der Vorgaenger: …"). If a predecessor fails, the dependent part fails with the reason and never starts. When every part is finished, the results are merged ONCE into {antwort (max 4 sentences), offen[], widersprueche[]} and returned as ONE result: wait_for_result=true resumes THIS session with it (Dev-Agent session); a group started during a WhatsApp turn sends ONE WhatsApp message. Receivers report with report_task_result. Limits per order (tenant settings): depth, number of handoffs, tokens; a handoff back to an agent earlier in the same chain is refused. Use get_delegation_group to look at the state. Tell the person 'handed over', never 'done', until the merged result is there.
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": {
"teile": "<teile>"
},
"name": "delegate_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| teile | Yes | Teilaufgaben: [{schluessel, to_agent_id, message, nach?}] mit optionalen Abhaengigkeiten | |
| auftrag | No | The overall order in one or two sentences — used when merging the results. | |
| priority | No | Prioritaet | |
| session_name | No | Name der Sitzung, die mit dem zusammengefassten Ergebnis fortgesetzt wird | |
| from_agent_id | No | Sending agent; default: the acting agent. | |
| wait_for_result | No | Resume this session with the merged result of the group. |