preview_odoo_mutation
Validate create/write operations in Odoo and obtain a short-lived preview token to inspect changes before applying them.
Instructions
Validate a create/write and return a short-lived, single-use preview token.
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": {
"operation": "<operation>",
"model": "<model>",
"ids": "<ids>",
"values": "<values>",
"reason": "<reason>"
},
"name": "preview_odoo_mutation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| model | Yes | ||
| reason | Yes | ||
| values | Yes | ||
| operation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||