Read an optional ZCode model IO record
zcode_session_model_ioReads a retained model input/output JSONL record for a session, returning metadata and tool names by default and assistant text plus tool arguments when includeContent is enabled.
Instructions
Read one retained model IO JSONL record for a session. Recording may be absent or incomplete. Returns metadata and tool names by default; includeContent also returns assistant text and tool arguments. Never returns request headers or full prompt; not a per-token event stream. Records over 1 MiB are reported and not skipped.
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_model_io"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | ||
| taskId | Yes | ||
| includeContent | No |