Run Minimax Record Action
minimax_run_actionRun business actions on accounting records, such as issuing invoices, confirming orders, approving inbox items, and generating PDFs, while handling accounting consequences.
Instructions
Run a business action on a record: issue an invoice, cancel issuing, generate its PDF, turn it into a credit note, send an e-invoice; confirm, complete or invoice an order; confirm a stock entry; approve or reject an inbox item.
Most actions have accounting consequences (issuing assigns the invoice number and posts it); state what you are about to do before running one.
Returns: str: JSON result from Minimax (for copy actions, the new record), or an "Error: ..." string.
Examples: - Issue draft invoice 4711 with PDF -> resource="issued_invoices", record_id=4711, action="issueAndGeneratepdf" - Turn order 88 into an invoice -> resource="orders", record_id=88, action="createissuedinvoice"
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_run_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |