odoo_execute
Call any Odoo model method for workflow actions or custom operations not available through standard CRUD tools.
Instructions
Execute any model method via execute_kw. Use for workflow actions (action_confirm, action_done), custom methods, or anything not covered by CRUD tools.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Positional arguments | |
| model | Yes | ||
| kwargs | No | Keyword arguments | |
| method | Yes | Method name (e.g. 'action_confirm', 'button_validate') | |
| connection | No | default |