route_to_peer
Send a prompt to a peer Claude Code session. Use ask to wait for a reply or tell for fire-and-forget delivery.
Instructions
Send a prompt to one of THE OPERATOR'S OWN peer Claude Code sessions (use list_peers first to discover them). Do NOT use this for cross-tenant public agents — those need dispatch_to_agent with an <owner>/<slug> handle. mode=ask blocks for the reply (15 min cap); mode=tell is fire-and-forget.
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": {
"peer": "<peer>",
"prompt": "<prompt>",
"mode": "<mode>"
},
"name": "route_to_peer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ask: wait for reply; tell: fire-and-forget | |
| peer | Yes | Peer routing name (e.g. "@reddit-scout") | |
| prompt | Yes | What to ask |