工具 API

remove_document

Permanently delete documents and all associated data. Only invoke when the user explicitly names the documents AND confirms deletion. Returns `results` — one entry per requested document: `{ doc_name, status: "deleted" | "not_found" | "failed", error? }`. Inspect each entry for per-document failures. This action is irreversible.

devOAuth1 积分

调用信息

工具标识
pageindex-mcp.remove_document
服务提供方
PageIndex
平均响应
0 ms
近 7 天调用
0

输入参数

doc_names必填

Array 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_id

Disambiguator 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.