All tools

Finance · erp_create_record

Create in the ERP (Odoo)

Create a contact, quotation, purchase order, lead or task in Odoo, in its initial state.

Price
included
Requirements
Odoo
set it up in Settings → Integrations
Human approval
Yes, by default
outside-facing write: a human validates
Reliability
Verified
not measured yet

Input

FieldTypeDescription
model *stringOdoo model, e.g. crm.lead
values *objectField values, e.g. {"name":"Devis Ateliers Marin","partner_id":42,"order_line":[[0,0,{"product_id":7,"product_uom_qty":2}]]}

Call this tool

Through the HTTP API, or from the MCP server with the run meta-tool.

curl https://api.ezyagents.fr/gateway/v1/run \
  -H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
  -d '{"tool":"erp_create_record","input":{"model":"…","values":"…"}}'
$run({ "tool": "erp_create_record", "input": {"model":"…","values":"…"} })