agent_tasks
For clients outside Caddie (T3 Code, Claude Code or Codex in a terminal) acting for the user: the user's agents' tasks with each one's state (working, queued, waiting_for_mac, waiting_for_ok, needs_user, failed, stopped, idle, done) and its last message. agent: one agent (name or id); include_done: done tasks too. A list of { agent, agent_id, tasks }, the newest 20 tasks each; when not all could be read, { agents, partial: true } with some of them. Caddie's own agents: use list_agents.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "agent_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | ||
| include_done | No |