odoo_search
Search Odoo records by model and domain, returning selected fields with limit, offset, and sort controls. Read-only, useful for querying and paginating ERP data.
Instructions
Search Odoo records and return their fields (search_read). Read-only.
Args: model: Technical model, e.g. 'res.partner', 'sale.order', 'account.move'. domain: Odoo domain, e.g. [["state", "=", "sale"], ["amount_total", ">", 1000]]. fields: Fields to return. Use odoo_describe_model to discover them; defaults to a lightweight profile on common models. limit: Max records (default 20, max 200). offset: Records to skip, for pagination. order: Sort, e.g. 'date_order desc'. all_fields: Set True only when you explicitly need all fields outside the lightweight default profile.
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": "odoo_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| model | Yes | ||
| order | No | ||
| domain | No | ||
| fields | No | ||
| offset | No | ||
| all_fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |