Actualiza un producto existente en Odoo por su ID. Permite cambiar nombre, descripción, precios, código interno, barcode, categoría, tags, categorías de eCommerce, estado de publicación, rastreo de inventario, disponibilidad en POS y control de venta sin stock. A diferencia de odoo_create_product...
AI agents use updateProduct to create or update resources in Olivia — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Olivia environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
id | number | Yes | ID del producto (product.template) |
name | string | — | Nuevo nombre |
barcode | string | — | Nuevo código de barras |
sale_ok | boolean | — | Si el producto puede venderse. |
tag_ids | array | — | Nuevos IDs de tags/etiquetas (reemplaza los existentes). Usar odoo_search_read con model "product.tag" para ver los disponibles. |
categ_id | number | — | Nuevo ID de categoría interna (product.category) |
seo_name | string | — | Slug SEO para la URL del producto en el sitio web (ej: "chocolatin-70-stevia-copani-5gr"). Si se omite, Odoo lo genera automáticamente desde el nombre. |
cost_price | number | — | Nuevo precio de costo |
sale_price | number | — | Nuevo precio de venta |
is_storable | boolean | — | Rastrear inventario del producto. true = Odoo controla stock; false = vende sin chequear existencias. |
purchase_ok | boolean | — | Si el producto puede comprarse a proveedores. |
default_code | string | — | Nuevo código interno / SKU |
Parameters from the server's own tool schema.
This tool modifies existing data (product fields) in a reversible manner. While it changes multiple critical product attributes including prices, inventory tracking, and sales controls, these modifications can be undone by subsequent updates. The tool is clearly Write rather than Destructive because updates are not irreversible deletions.
From the tool's definition Actualiza un producto existente en Odoo por su ID. Permite cambiar nombre, descripción, precios, código interno, barcode, categoría, tags, categorías de eCommerce, estado de publicación, rastreo de inventario, disponibilidad en POS y control de venta sin…
Risk signalsHigh parameter count (17 properties)
Attacks that exploit this kind of access
Actualiza un producto existente en Odoo por su ID. Permite cambiar nombre, descripción, precios, código interno, barcode, categoría, tags, categorías de eCommerce, estado de publicación, rastreo de inventario, disponibilidad en POS y control de venta sin stock. A diferencia de odoo_create_products, este update NO aplica defaults: solo cambia los campos enviados explícitamente, para no pisar configuraciones que el operador haya tocado a mano. CASO DE USO TÍPICO para arreglar productos legacy: pasar { id, is_storable: true, available_in_pos: true, allow_out_of_stock_order: false } para que el producto rastree inventario, esté en POS y no se venda sin stock. It is categorised as a Write tool in the Olivia MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
updateProduct accepts 12 parameters: id, name, barcode, sale_ok, tag_ids, categ_id, seo_name, cost_price, sale_price, is_storable, purchase_ok, default_code. Required: id. The full parameter table on this page comes from the server's own tool schema.
Register the Olivia MCP server in PolicyLayer and add a rule for updateProduct: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Olivia. Nothing to install.
updateProduct is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the updateProduct rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for updateProduct. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
updateProduct is provided by the Olivia MCP server (@facusrod/olivia-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →