search_knowledge
Find relevant records in indexed Odoo data using BM25 ranking. Pass a query and model to retrieve top matching results.
Instructions
Relevance-ranked local BM25 search over previously indexed records
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>",
"model": "<model>"
},
"name": "search_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| model | Yes | ||
| query | Yes | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | Reporting tool name. | |
| error | No | Sanitized error message when success is false. | |
| model | No | ||
| query | No | ||
| results | No | BM25-ranked snippets from the local index. | |
| success | Yes | False when the call failed; see error. | |
| instance | No |