memory_context_pack
Build a compact, token-budgeted context pack from matching memories to give agents focused context without reading full documents.
Instructions
Assemble a compact, token-budgeted context pack from matching memories without reading full documents.
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": {
"query": "<query>"
},
"name": "memory_context_pack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Filter by tag | |
| area | No | Filter by area | |
| query | Yes | Search query used to assemble the context pack | |
| project | No | Filter by project | |
| max_tokens | No | Maximum estimated token budget (default: 1200) | |
| search_mode | No | Ranking mode (default: balanced) | |
| max_memories | No | Maximum memories to include (default: 5) |