MCP tool

protect_file

Protect a file on immut (by bytes)

WRITE

Protect a file by passing its bytes as base64. This server is remote and cannot read your filesystem, so bytes are the only way in. Do NOT transcribe a large file into base64 here (it is slow and error-prone): for anything substantial, upload it directly with multipart POST /api/v1/documents, or install the immut skill so it can read the file locally. Returns the proof. Set review=true instead if you are NOT sure the file should be protected — that stages it for a person and writes no proof.

  • Access: write

Arguments

NameTypeRequiredDescription
filenamestringyesOriginal file name incl. extension
contentBase64stringyesBase64-encoded file bytes
workspacestringyesWorkspace id
folderstringnoDestination folder id (omit to file at workspace root)
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.
reviewbooleannotrue = do NOT protect it; stage it for a human to decide. No proof is written. Use when you cannot tell whether the file is evidence for the objective.
sourcePathstringnoWhere the file lives on the customer's machine. Only used with review=true, so the human can see what they are deciding about and the file is not staged again next sweep.

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