TOOL API
remove_ document
Permanently delete documents and all associated data. Only invoke when the user explicitly names the documents AND confirms deletion. Accepts an array of document names for batch deletion (maximum 10 per batch). Returns detailed success/failure status for each document. WARNING: This action is irreversible. Deleted documents cannot be recovered.
Call information
- Tool slug
- pageindex-mcp.remove_document
- Provider
- PageIndex
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
doc_namesrequiredArray of document names to delete. Each name must be copied verbatim from the `name` field of a browse_documents() or search_documents() response (case-sensitive, include extension). Example: ["Q3 Report.pdf", "draft.pdf"]. Max 10 per call.
folder_idDisambiguator for same-name documents. Copy the `folder_id` from the intended browse/search result; use "root" for root-level documents, or "shared-with-me"/"following" for the read-only folders at the library root; omit if `doc_name` is unique. Copy any folder_id verbatim from a browse_documents()/get_folder_structure() response, never construct one.