odoo_browse
odoo_browseRead Odoo model records like a list screen: fetch rows, counts, grouped totals, field definitions, or one record with chatter for inspection and reporting.
Instructions
Read a model the way its list screen does: rows, a count, or groups with totals, plus on request its field definitions and one record with its chatter. Examples: rows {"model": "sale.order", "domain": [["state", "=", "sale"]], "fields": ["name", "amount_total"]}; count only {"limit": 0}; totals {"groupby": ["user_id", "date_order:month"], "aggregates": ["amount_total:sum"]}; fields {"describe": true, "limit": 0}; a record and its messages {"record": 42, "thread": true, "limit": 0}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "odoo_browse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | An Odoo link the user pasted (e.g. .../odoo/sales/42 or .../odoo/action-123): opens that record, or that menu's list with its filter. Instead of or with model. | |
| limit | No | Rows or groups to return. 0: only the count. | |
| model | No | Technical model name, e.g. "sale.order". | |
| domain | No | Odoo domain, e.g. [["state", "=", "sale"]]. Empty: all records. | |
| fields | No | Fields of the rows (and of the record). Empty: the stored fields. | |
| offset | No | Rows or groups to skip. | |
| record | No | Add this record (by id) with the given fields. | |
| thread | No | With record: add its recent chatter messages. | |
| groupby | No | Group by these fields; dates may use :day/:week/:month/:quarter/:year. Returns groups instead of rows. | |
| orderby | No | e.g. "date_order desc" or, with groupby, "amount_total:sum desc". | |
| describe | No | Add the fields you can read and filter by. | |
| aggregates | No | With groupby: "field:sum|avg|min|max|count|count_distinct". The record count of each group always comes. |