delete_document
Delete documents and related catalog entries safely by requiring the project name. Supports soft delete to trash or permanent removal, including Google Drive files if requested.
Instructions
Delete a document and its catalog entries. Requires project name to prevent accidental deletion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | Document ID to delete | |
| project | Yes | Project name (required for safety) | |
| soft_delete | No | If true, move to trash. If false, permanently delete. | |
| delete_drive_file | No | If true, also delete the Google Drive file |