query_memory
Run structured MindQL FIND queries over stored memory to retrieve thoughts, edges, or actions; use LIMIT to control results, capped at 5000 rows.
Instructions
Run a structured MindQL FIND query over stored memory, e.g. "FIND thoughts WHERE lifecycle_status = 'ACTIVE' LIMIT 10". Only the FIND command is supported, and only against thoughts, edges, or actions — FIND embeddings is refused, since a stored embedding is raw vector bytes with no JSON representation. Results are capped at 5000 rows: a query with no LIMIT clause gets this cap injected, and a LIMIT above it is refused rather than truncated. The limit argument, if given, always replaces any LIMIT already in the query text — the two are never combined.
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": "query_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||