erpnext_batch_prepare
Prepare an exact ordered ERPNext batch, verify source count, and cover all requests with one user confirmation. Bind earlier responses into later JSON bodies; batch stops on error.
Instructions
Prepare an exact ordered batch. Verify source count; one user confirmation covers the batch.
Bind a later JSON body pointer to an earlier response using bindings, e.g.
{"/doc": {"step": 0, "pointer": "/data"}}. Batches are not atomic and stop on error.
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": {
"requests": "<requests>",
"expected_count": "<expected_count>"
},
"name": "erpnext_batch_prepare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ERPNext batch | |
| requests | Yes | ||
| expected_count | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||