create_record
Creates a new record in a specified Odoo ERP model from field values. Supply an idempotency key to avoid duplicate records.
Instructions
Create a record.
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>",
"values": "<values>"
},
"name": "create_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Technical model name, e.g. 'res.partner' | |
| values | Yes | Field values | |
| idempotency_key | No | Optional. A key unique to this change (e.g. a UUID). Repeating the call with the same key returns the first result instead of creating a duplicate. |