Update records
odoo_writeUpdates existing Odoo records with the given field values. Returns JSON with model, ids and updated. When write confirmation is enabled for the account, nothing is changed and the result is a pending-action code with a description of the change.
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>",
"ids": "<ids>",
"values": "<values>"
},
"name": "odoo_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | IDs of the records to update. | |
| model | Yes | Odoo model technical name. | |
| values | Yes | Field values to set on those records. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |