erpnext_doc_delete
Delete ERPNext documents by doctype and name, with dry-run preview and safe mode requiring plan confirmation to prevent accidental deletions.
Instructions
Prepare/delete any document allowed by ERPNext. safe_mode requires plan confirmation; no draft-only MCP gate.
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>",
"name": "<name>"
},
"name": "erpnext_doc_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| doctype | Yes | ||
| dry_run | No | ||
| expected_modified | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||