context
Retrieve the most relevant memories for a query and get a ready-to-inject context block to improve AI responses.
Instructions
Return a ready-to-inject context block of the most relevant memories for a query.
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": "context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| query | Yes |