Count records
odoo_search_countCounts the records of an Odoo model that match a domain, without returning them. Returns JSON with model and count.
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_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Odoo model technical name. | |
| domain | No | Odoo search domain. Empty counts all records. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |