compact_memory
Clear the active context and preserve key facts by storing a condensed summary into compacted history, preventing memory overload.
Instructions
Empties the Active Context and appends the AI-provided summary to the Compacted History.
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>",
"context_summary": "<context_summary>"
},
"name": "compact_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| context_summary | Yes | A highly condensed summary of the current Active Context to preserve important facts and outcomes. |