execute_method
Execute methods on Odoo models to perform operations, retrieve data, or trigger business logic through the Odoo MCP gateway.
Instructions
Execute a method on 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>",
"method": "<method>"
},
"name": "execute_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| method | Yes | ||
| record_ids | No | ||
| args | No | ||
| kwargs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||