Create Record
create_recordCreates a new record in an Odoo model from provided field values, enabling AI assistants to add ERP data such as customers or contacts.
Instructions
Create a new record in 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>",
"values": "<values>"
},
"name": "create_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | The technical name of the model (e.g., 'res.partner') | |
| values | Yes | Dictionary of field values for the new record (e.g., {'name': 'John Doe', 'email': 'john@example.com'}) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||