delete_document
Moves a document to trash or permanently deletes it from the MCP Outline Server. Documents can be restored within 30 days unless permanent deletion is specified. Use to remove unwanted, obsolete, or sensitive content and clean up your workspace.
Instructions
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
Name | Required | Description | Default |
---|---|---|---|
document_id | Yes | ||
permanent | No |
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"
}