MCP tool

list_documents

List / count protected documents

READcalls /api/v1/documents

List and COUNT the protected documents (files) in a workspace, optionally filtered by folder or a name search. Use this to answer "how many files do I have" or to show what has been protected. Returns the total count plus a page of documents (name, folder, proof tx, network, date). Read-only.

  • Access: read-only
  • Calls: /api/v1/documents

Arguments

NameTypeRequiredDescription
workspacestringyesWorkspace id
folderstringnoFolder id to count/list within (omit for the whole workspace)
searchstringnoFilter by file name, title, or the agent reason
uploadChannelweb | api | agentnoagent = only what the AI agent protected
docTypestringnoAgent classification doc type
docStatestringnoAgent classification doc state
objectivestringnoThe objective the agent was working to
runIdstringnoOnly documents protected by this sweep
needsFolderbooleannotrue = agent-protected files still at the workspace root
partystringnoExact counterparty name, e.g. "Acme Corp". Not a substring: Acme will not match Acme Holdings
hasClassificationbooleannofalse = documents nobody has described yet. The backfill starting point
documentDateFromstringnoISO 8601, on the date read OFF the document (unproven)
documentDateTostringnoISO 8601, on the date read OFF the document (unproven)
sortcreatedAt | documentDatenocreatedAt = when immut proved it. documentDate = the date on the page, unproven
orderasc | descnoDefault desc. Use asc for a chronological story
minConfidencenumbernoLowest classification confidence to include
maxConfidencenumbernoHighest classification confidence to include
fromstringnoISO 8601. Only documents protected on or after this
tostringnoISO 8601. Only documents protected on or before this
pagenumbernoPage number (default 1)
limitnumbernoPage size, max 100 (default 20)

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