session_digest
Retrieve a compact summary of a coding session—last request, last action, cwd, branch, and clipped turns—to quickly understand its state for handoffs.
Instructions
Compact inert summary of a session: last request, last action, cwd, branch, clipped turns. Does not inject.
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_digest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| session_id | Yes | Session id, live name, title fragment, `agent:ref`, or `latest` |