build_domain
Build validated Odoo domain expressions from structured conditions, enabling accurate query filters without manual syntax errors.
Instructions
Build a validated Odoo domain from structured conditions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conditions | Yes | ||
| fields_metadata | No | ||
| logical_operator | No | and |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | Reporting tool name. | |
| error | No | Sanitized error message when success is false. | |
| domain | No | Validated Odoo domain expression. | |
| issues | No | Validation errors and warnings. | |
| success | Yes | False when the call failed; see error. | |
| conditions | No | Normalized field/operator/value conditions. | |
| metadata_used | No |