Parameters
Maximum number of memories to return across all layers. Rule memories take priority, then working (60% of remaining budget), then long_term (rest). Increase to 100-200 for large projects with many rules. Range: 1-200.
Search scope.
| Value | Description |
|---|---|
project | Current project + global memories (default) |
global | Global memories only |
all | All projects without filtering |
Budget Allocation
Memories are fetched in priority order:- Rule layer — All rules, up to the budget
- Working layer — 60% of the remaining budget
- Long-term layer — The rest
expiresAt) are automatically excluded.