bulk_smart_create_documents
Create multiple ERPNext documents in batches with validation, error handling, and progress tracking; continue past failed records and return detailed results.
Instructions
Bulk create documents with validation, error handling, and progress tracking
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": {
"doctype": "<doctype>",
"docs": "<docs>"
},
"name": "bulk_smart_create_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docs | Yes | Array of documents to create | |
| doctype | Yes | DocType name | |
| batch_size | No | Batch size for processing (optional, defaults to 50) | |
| continue_on_error | No | Continue processing on individual document errors (1/0, optional, defaults to 1) | |
| validate_before_create | No | Validate documents before creating (1/0, optional, defaults to 1) | |
| return_detailed_results | No | Return detailed results for each document (1/0, optional, defaults to 1) |