batch_delete_documents
Delete multiple documents at once, moving them to trash or permanently removing them. Handles errors automatically and applies rate limiting for bulk operations.
Instructions
Deletes multiple documents, moving them to trash or permanently.
This tool processes each document sequentially, continuing even if individual operations fail. Rate limiting is handled automatically.
IMPORTANT: When permanent=False (the default), documents are moved to trash and retained for 30 days. Setting permanent=True bypasses trash and immediately deletes documents without recovery option.
Use this tool when you need to:
Remove multiple unwanted documents at once
Clean up workspace in bulk
Permanently delete sensitive information (with permanent=True)
Recommended batch size: 10-50 documents per operation
Args: document_ids: List of document IDs to delete permanent: If True, permanently deletes without recovery option
Returns: Summary of batch operation with success/failure details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_ids | Yes | ||
| permanent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |