memory_recall_structural
Query memory using role-filler pairs to retrieve structural matches. Read-only operation for role-based semantic recall.
Instructions
Structural recall via TEM role->filler bindings (BSC hypervectors). Read-only. Prefer over memory_recall for role-filler queries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_records | No | Hard cap on records scanned after fetch (default 5000, max 50000). Prevents accidental full-corpus scans from `{}`. | |
| budget_tokens | No | Soft token budget for the response (default 2000). Hits are appended until the next would exceed this budget. | |
| structure_query | No | Optional role->filler map, e.g. {"agent": "agent_name"}. Each value is hashed to a filler hypervector. When omitted or empty, query HV is zero-filled and every row with structure_hv is scored (expensive at large N). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | No | ||
| anti_hits | No | ||
| budget_used | No | ||
| activation_trace | No | ||
| structural_query_size | No |