build_domain
Combine structured conditions with a logical operator to construct a validated domain for Odoo record filtering.
Instructions
Build a validated Odoo domain from structured conditions
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": {
"conditions": "<conditions>"
},
"name": "build_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conditions | Yes | ||
| fields_metadata | No | ||
| logical_operator | No | and |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |