agent_sessions
Lists a running AI agent's sessions with status, activity, and checkpoint size, or reads one session's checkpoint when a session ID is set. Set projectPath when not running from the project root.
Instructions
List the sessions of a running AI agent resource (id, last activity, status, checkpoint size), or read one session's checkpoint when sessionId is set. Set projectPath when the MCP server is not running from the project root.
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": {
"resource": "<resource>"
},
"name": "agent_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | Yes | Name of the agent resource | |
| sessionId | No | Session ID to read; omit it to list all sessions | |
| projectPath | No | Absolute path to the Flisk project root; run this operation from that directory. |