session_list
List sessions filtered by optional agent ID and statuses, with pagination support using returned next_page token.
Instructions
List sessions, optionally filtered to one agent_id and/or statuses.
statuses filters by session status (e.g. ["running", "idle"]). Returns id +
status each; page with the returned next_page token when has_more is true.
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": "session_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | ||
| statuses | No | ||
| limit | No | ||
| page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||