erpnext_doc_create
Create ERPNext documents via REST API with safe-mode preflight checks and expected-length validation for child rows. Use dry-run to test before saving.
Instructions
Create a document using native REST. safe_mode preflights; expected_lengths checks child rows.
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": {
"doc": "<doc>"
},
"name": "erpnext_doc_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| dry_run | No | ||
| expected_lengths | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||