Read a session's result
oc_resultRetrieve a session’s current answer, tool activity, changed files, cost, and pending requests without waiting for completion.
Instructions
Return the state and content of a session without waiting: final answer, tools, files changed, cost, and pending requests.
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": {
"session_id": "<session_id>"
},
"name": "oc_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Only consider messages from this timestamp (ms) on. | |
| detail | No | final = answer only; summary (default) = answer + tools + files; full = complete transcript of the turn. | |
| max_chars | No | Max output size (default 20000). | |
| session_id | Yes |