preview_write
Preview the effects of create, write, or unlink operations on Odoo records without executing them, allowing safe validation before applying changes.
Instructions
Preview create, write, or unlink without executing it
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>",
"operation": "<operation>"
},
"name": "preview_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| values | No | ||
| context | No | ||
| instance | No | ||
| operation | Yes | ||
| record_ids | No | ||
| values_list | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |