session_diff
Retrieve structured diffs for a specific session turn, enabling change inspection without fetching messages or session details.
Instructions
Get structured diffs for a session turn. Returns only the diff; does not fetch messages or session details.
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": "session_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Ending turn id. | |
| from | No | Starting turn id. | |
| server | No | Server id. Omit when exactly one server is available. | |
| context | No | Lines of context around changes. | |
| session_id | Yes | Session id on that server. |