retrieve_memory
Retrieve top-k memories most similar to a query, optionally including sibling repositories in the same organization, to provide relevant context for AI tools.
Instructions
Retrieve the top-k memories most similar to the query. If include_org=True, also queries sibling repositories in the same organization.
repo_path: optional absolute path to the target repository. When omitted, defaults to the server's configured project directory.
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": "retrieve_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No | ||
| repo_path | No | ||
| include_org | No |