MCP Outline Server

by Vortiago
Verified

delete_document

Moves a document to trash or permanently deletes it. IMPORTANT: When permanent=False (the default), documents are moved to trash and retained for 30 days before being permanently deleted. During this period, they can be restored using the restore_document tool. Setting permanent=True bypasses the trash and immediately deletes the document without any recovery option. Use this tool when you need to: - Remove unwanted or unnecessary documents - Delete obsolete content - Clean up workspace by removing documents - Permanently remove sensitive information (with permanent=True) Args: document_id: The document ID to delete permanent: If True, permanently deletes the document without recovery option Returns: Result message confirming deletion

Input Schema

NameRequiredDescriptionDefault
document_idYes
permanentNo

Input Schema (JSON Schema)

{ "properties": { "document_id": { "title": "Document Id", "type": "string" }, "permanent": { "default": false, "title": "Permanent", "type": "boolean" } }, "required": [ "document_id" ], "title": "delete_documentArguments", "type": "object" }
ID: yejga73oe8