List sessions
list_sessionsRetrieve recent conversation sessions for a specified agent. Use the optional limit to constrain the number of results.
Instructions
An agent's recent conversation sessions.
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>"
},
"name": "list_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Agent name from list_agents, e.g. 'codex' or 'claude'. | |
| limit | No |