Poll ZCode session lifecycle events
zcode_session_eventsRead a bounded page of ZCode session lifecycle events using cursor-based paging from the newest or oldest log, so agents can audit session history and detect gaps.
Instructions
Read a bounded page of existing ZCode JSONL lifecycle events for a session. Pass the returned cursor on subsequent calls. This is not the v4 stream: assistant text and tool arguments/results are unavailable. The first call starts at the newest log by default, or the oldest retained log with start=oldest; gaps report incomplete history, rotation, truncation or unreadable records.
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": {
"taskId": "<taskId>"
},
"name": "zcode_session_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| start | No | ||
| cursor | No | ||
| taskId | Yes |