create_record
Create new records in Odoo 19 models using field values. Generate single or batch entries with direct browser access URLs for created records.
Instructions
Create new record(s) in an Odoo model.
Args: model: Model name (e.g., 'res.partner') values: Dictionary of field values, or list of dicts for batch creation
Returns: JSON string containing: - Single creation: {"id": int, "success": bool, "url": str} - Batch creation: {"ids": list[int], "count": int, "success": bool, "urls": list[str]}
The 'url' field provides direct browser access to the created record(s).Note: In READONLY_MODE, this tool is hidden from LLM via tags.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| values | Yes |