Create Minimax Record
minimax_create_recordCreates records such as customers, items, invoices, orders, and journal entries, validates fields against the Minimax schema, and returns new IDs; invoices and orders start as drafts.
Instructions
Create a record (customer, item, issued invoice, order, journal, ...).
New invoices, orders and stock entries are created as drafts; issue or confirm them afterwards with minimax_run_action. Field names are checked against the Minimax schema before anything is sent.
Returns: str: JSON of the created record (with its new ID and RowVersion), or an "Error: ..." string.
Examples: - New customer -> resource="customers", data={"Name": "Novak d.o.o.", "Address": "Slovenska 1", "PostalCode": "1000", "City": "Ljubljana", "Country": {"ID": }}
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": {
"params": "<params>"
},
"name": "minimax_create_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |