route
Dispatches work to agent peers such as Claude Code, Codex, ChatGPT, Slack, and GitHub by opening the correct VS Code/Cursor extension or CLI/API handoff for consult, launch, and status actions.
Instructions
Open the VS Code/Cursor extension for an agent peer (Claude Code, Codex/ChatGPT, Composer). Does not run claude -p or codex exec. Platform peers (github, railway, slack, …) still use CLI/API. Pass params.promptId to load a catalog prompt and params.memoryPacket to prepend shared MEMORY.
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>",
"action": "<action>"
},
"name": "route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | Peer id: cursor, claude, codex, chatgpt, slack, github, railway, vercel, supabase, stripe, linear, ideation-hq | |
| action | Yes | consult = round-trip (opens the extension for agent peers), launch = start a job/post, handoff = open IDE UI, api = raw method, inbox = status | |
| params | No | promptId (catalog, e.g. chatgpt.plan), memoryPacket (shared MEMORY text), project_id (HQ job link), plus peer-specific fields. | |
| prompt | No | ||
| runtime | No | ||
| transport | No |