session-get
Fetch a persisted consensus or ask-all session record by ID to retrieve opinions, verdict, arbiter, and annotations; read-only, requires sessions.persist.
Instructions
Fetch a persisted consensus/ask-all session record by id (opinions, verdict, arbiter, annotations). Requires sessions.persist; local and read-only (no provider calls). Returns a text-wrapped JSON envelope { session }, or { error } when persistence is off or the id is unknown.
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": {
"sessionId": "<sessionId>"
},
"name": "session-get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | session-revisit only: working directory for resolving the original file refs on the re-run; session-get ignores it. | |
| sessionId | Yes | Id of a persisted session record. |