ask_agent
Ask another of the user's agents for something it's set up for (its tools, files, sign-ins or what it knows). It runs as a new task in that agent, on the Mac that runs it. from: your own "agent:task:key" from your instructions. With from, its answer comes back to this task as a new message by itself; without it (a client outside Caddie), it's a message to it marked as asked from outside Caddie via this client, and you get the answer with agent_reply (task_status follows the task, by the task_id it returns). wait_seconds (up to 50) waits here for a quick answer. Up to 4 asks an hour from one task. Don't ask it to do what you can do yourself.
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": {
"agent": "<agent>",
"message": "<message>"
},
"name": "ask_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | your own "agent:task:key", so the answer comes back by itself | |
| agent | Yes | its name or id (list_agents) | |
| message | Yes | ||
| wait_seconds | No |