veryfront__delete_retrieval_document

Delete retrieval document. Requires project.knowledge.write; API keys also need delete scope.

Risk: mutating.

Arguments

NameTypeRequiredDescription
expected_revisionstringDelete only this observed revision. A changed record is a conflict; a missing record is not_found. Delete the record before removing its chunks, as ragStore().removeDocument() does, so a concurrent refresh cannot publish through a still-visible record.
project_referencestringProject ID or slug.
retrieval_document_idstringYesRetrieval document ID.
confirmbooleanYesMust be true to delete the record.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__delete_retrieval_document",    "arguments": {      "retrieval_document_id": "<retrieval_document_id>",      "confirm": "<confirm>"    }  }}