Update Minimax Record
minimax_update_recordUpdates selected fields of an existing accounting record by applying only the provided changes and preserving the current row version; supports customers, invoices, items, and journals.
Instructions
Change fields of an existing record. Reads the current record, applies
changes on top, and writes it back with the current RowVersion, so only the
fields named in changes are affected.
Issued (non-draft) invoices cannot be edited; cancel issuing first with minimax_run_action.
Returns: str: JSON of the updated record, or an "Error: ..." string.
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_update_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |