MCP tool

protect_new_version

Protect a new version of an existing document (by bytes)

WRITE

Protect an UPDATED version of a document already on immut — proves when the file changed. This server is remote and cannot read your filesystem, so pass the new bytes as base64 along with the existing documentId. Use when a protected file has been revised (e.g. a contract re-signed, a policy updated). Do NOT transcribe a large file into base64 here (it is slow and error-prone): for anything substantial use multipart POST /api/v1/documents/{id}/version directly, or install the immut skill so it can read the file locally. Find the documentId with list_documents.

  • Access: write

Arguments

NameTypeRequiredDescription
documentIdstringyesId of the existing immut document to add a version to
filenamestringyesOriginal file name incl. extension
contentBase64stringyesBase64-encoded bytes of the NEW version
runIdstringnoId of the sweep this upload belongs to. Use the SAME value on every file in one sweep and on the matching report_run call — it is what links a run to the files it protected.
agentClassificationstringnoWhat you judged about this file, recorded against the proof. Every field optional — send only what you actually determined, and never invent a verdict you did not reach.

Generated from the immut MCP server, 28 tools. Machine-readable: this page as markdown · everything in one file · tool contract