record_count
Count Odoo records matching a domain filter to verify totals, validate queries, or size datasets before reading or exporting data.
Instructions
Count Odoo records matching a domain.
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": {
"connection_id": "<connection_id>",
"model": "<model>"
},
"name": "record_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| domain | No | ||
| connection_id | Yes |