search_records
Search Odoo records through read-only access. Apply domain filters, select fields, and use free-text query to match name, reference, or email-like fields.
Instructions
Search Odoo records with read-only search_read; optional free-text query matches across name/ref/email-like fields
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": {
"model": "<model>"
},
"name": "search_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| model | Yes | ||
| order | No | ||
| query | No | ||
| domain | No | ||
| fields | No | ||
| offset | No | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | Reporting tool name. | |
| count | No | ||
| error | No | Sanitized error message when success is false. | |
| result | No | Matched records (field-ACL redacted). | |
| success | Yes | False when the call failed; see error. | |
| fields_used | No | ||
| redacted_fields | No | ||
| query_fields_used | No | Fields matched by the free-text query shortcut. | |
| smart_fields_applied | No |