preview_write
Simulate create, write, or unlink operations on Odoo records to inspect their impact before applying changes. Validate data modifications without executing them.
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 |