odoo_execute_method
Call a model method in Odoo, supporting read-only operations by default and mutating methods when explicitly permitted.
Instructions
Call a model method. Read-only methods are always allowed; mutating methods require ODOO_ENABLE_WRITES=1.
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>",
"method": "<method>"
},
"name": "odoo_execute_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| model | Yes | ||
| kwargs | No | ||
| method | Yes |