search_unified
Find relevant memories across short-term and long-term storage in one unified query, with ranking and filters for tags, status, and scores.
Instructions
Search across STM and LTM with unified ranking.
Args: query: Search text (max 50k chars). tags: Filter by tags (max 50). status: Filter STM by status ('active', 'promoted', 'archived' or list of these). Defaults to ['active', 'promoted'] if None. limit: Max results (1-100). stm_weight: STM multiplier (0.0-2.0). ltm_weight: LTM multiplier (0.0-2.0). window_days: Recent STM only (1-3650 days). min_score: Min STM score (0.0-1.0). page: Page number (default: 1). page_size: Results per page (10-100, default: 10). preview_length: Content chars (0-5000, default: 300).
Returns: Dict with results from both STM/LTM and pagination metadata.
Raises: ValueError: Invalid parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| tags | No | ||
| limit | No | ||
| query | No | ||
| status | No | ||
| min_score | No | ||
| page_size | No | ||
| ltm_weight | No | ||
| stm_weight | No | ||
| window_days | No | ||
| preview_length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||