context.summarize
Summarizes a long session in 2–4 sentences and returns context plus the last 8 events, so you can persist the summary to long-term memory via memory.put.
Instructions
Return a prompt asking you to summarize this session in 2-4 sentences and save it with memory.put (kind=project_knowledge), followed by the summary context and the last 8 events. Read-only: it stores nothing and calls no external model — your own memory.put call saves the summary. Use it at the end of a long session to keep a durable summary in long-term memory.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "context.summarize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||