Delete a persisted document
claix.document.deleteDelete a persisted document by document_id (DELETE /delete-document/{document_id}). No body or query params. Returns { document_id } on success. Irreversible. Free call. 404 if the document does not exist, is foreign, or was already purged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key secreta de Claix. Ejemplo: claix_sk_abc123.... Opcional si la conexión MCP envía x-api-key en cabecera HTTP (recomendado en Smithery/Cursor). | |
| document_id | Yes | UUID del documento persistido (document_id de una extracción con window_context). Ejemplo: 3c7a9f21-4b8e-4d1a-9c6f-2e0d8a5b7c4f. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | JSON payload from the Claix API (extracted records, schema list, or Excel export metadata). | |
| error | No | Human-readable error message when success is false. | |
| success | Yes | True when Claix returned a successful response. False when isError is set on the tool result. |