Update Record
update_recordModify existing records in any Odoo model by providing the model name, record IDs, and a dictionary of field values to change.
Instructions
Update existing records in an Odoo model.
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": "update_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | List of record IDs to update | |
| model | Yes | Model name (e.g., 'res.partner') | |
| values | Yes | Dictionary of field values to update |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |