Update Record
update_recordModify an existing Odoo record by providing its model, record ID, and field values to apply the specified changes in the ERP system.
Instructions
Update an existing record 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>",
"record_id": "<record_id>",
"values": "<values>"
},
"name": "update_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | The technical name of the model (e.g., 'res.partner') | |
| values | Yes | Dictionary of field values to update (e.g., {'phone': '+1234567890', 'city': 'New York'}) | |
| record_id | Yes | The ID of the record to update |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||