search_knowledge
Search your workspace knowledge memory for facts matching a query. Get ranked results from local and optionally xAI collection sources.
Instructions
Search the workspace knowledge memory for facts matching a query.
Local results are ranked by FTS5 bm25 when available (term-overlap otherwise). With UNIGROK_COLLECTIONS=1 and a capable SDK, matches from the xAI knowledge collection are merged in (origin='collection').
Args: query: Search terms. limit: Maximum number of local facts to return (1-25, default 5).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |