list_sessions
Discover local Claude Code and Codex chats to coordinate cross-runtime messaging. Review stored listings and wake status before choosing a peer, since listings don't confirm reachability.
Instructions
Discover local chats for Claude Code-to-Codex coordination. For same-runtime peers use native session discovery and messaging first. Stored listings do not prove AgentPeers reachability. Never silently choose an ambiguous name. Each Codex chat shows wake on or off; only the human or that chat can turn it on.
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": "list_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||