context_recall
Retrieve relevant stored entries for a query, packed to fit your token budget. Ask for what you need instead of reading the whole session.
Instructions
Retrieve the most relevant stored entries for a query, packed to fit a token budget. This is the main way to get memory back into your working context: ask for what you need rather than reading the whole session. Pinned entries are always included. Omit the query to get the most recent entries instead.
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": "context_recall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of entries | |
| query | No | What you are looking for. Omit for most-recent ordering. | |
| session_id | Yes | Session identifier. Reuse the same string across a task to accumulate memory. | |
| budget_tokens | No | Maximum tokens of entries to return |