bulk_delete_documents
Delete multiple ERPNext documents in one operation by specifying the DocType and an array of document names or IDs.
Instructions
Bulk delete documents
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>",
"names": "<names>"
},
"name": "bulk_delete_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | Array of document names/IDs | |
| doctype | Yes | DocType name |