List agent sessions
list_peersFind Claude Code and Codex sessions on this machine that you can message, showing their names, refs, working directories, and status.
Instructions
List the Claude Code and Codex sessions running on this machine that you can message, with their names, refs, working directories and status.
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_peers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||