Skip to main content
Glama

execute_method

Execute methods on Odoo 19 models to perform operations like creating, updating, or retrieving data, with write methods blocked in readonly mode.

Instructions

Execute any method on an Odoo model.

Args: model: Model name (e.g., 'res.partner') method: Method name to execute args: Positional arguments for the method kwargs: Keyword arguments for the method

Returns: JSON string with the method result

Note: In READONLY_MODE, write methods (create, write, unlink, copy) are blocked.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes
methodYes
argsNo
kwargsNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/twtrubiks/odoo19-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server