delete_document
Preview or delete a Frappe record by DocType and name; deletions require confirmation using the modified token from preview to prevent stale or accidental changes.
Instructions
Preview or delete a record; confirmation requires the preview's modified token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | No | ||
| doctype | Yes | ||
| expected_modified | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||