memory_diff
Summarizes a session's events, causal depth, errors, and newly seen event types to reveal what changed at session end.
Instructions
Summarise what happened in a session.
Returns event counts, types seen, causal depth, whether any errors
occurred, and event types that had never appeared in prior sessions.
Call this at the end of a session to understand what changed.
Args:
session_id: The session to analyse
Returns:
summary, event_types, total_events, has_errors, new_event_types
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": "memory_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes |