search_knowledge
Search registered knowledge files for prices, terms, product sheets, or codes and return ranked matching passages, so you can answer without reading entire files.
Instructions
Search INSIDE the account's knowledge files (price lists, terms, product sheets) and return the most relevant passages, best first: [{name, path, excerpt, score}]. Use it for prices, conditions and codes before reading a whole file with read_knowledge_file. Only the files the user registered are searched; the local index is refreshed when a file changes. Returns [] when nothing matches. Read-only, local.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max passages to return, best first. | |
| query | Yes | What to look for: a question, a product or apartment code (e.g. 'X.4.2'), or the text of the mail being answered. Matched by content, not by file name. | |
| account_id | No | Account to operate on (integer id from list_accounts). Omit or null = the user's active account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |