veryfront__update_retrieval_document

Update retrieval document. Requires project.knowledge.write.

Risk: mutating.

Arguments

NameTypeRequiredDescription
titlestringYesDocument title, at least one character.
sourcestringUpstream source reference, such as a file path or URL. Defaults to "".
typestringDocument type label. Defaults to "".
metadataobjectStructured metadata stored with the record: an object of string keys to JSON values.
expected_revisionstringYesThe revision you read. A changed record is a conflict; a missing record is not_found. Title, source, type and metadata are replaced, and the response includes the new revision.
project_referencestringProject ID or slug.
retrieval_document_idstringYesRetrieval document ID.

Call it

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