MCP tools/Documents

Documents tools.

Documents are CDMD (a Markdown superset) with inline diagrams, images, Vega charts, and BPMN. `editDocument` applies a small patch with optimistic locking via `versionTimestamp`; `findAndReplaceTextInDocument` runs bulk substitutions. Version history (`listDocumentVersions`) returns authors, summaries, and diff metadata.

Live discovery

Your agent can call searchTools with category: "documents" to fetch this list at runtime, complete with full input schemas. The page below is the human-readable mirror.

10 tools

Every tool below honours the credential’s permission scope and the user’s org role — agents see only what they’re authorised to call.

  • listDocuments

    List documents in a folder or project.

  • getDocument

    Read a document by ID (returns CDMD content + version timestamp).

  • createDocument

    Create a new document. Followed by diagram/image inserts.

  • createDocumentFromUpload

    Convert an uploaded file (Word, PDF, etc.) into a CDMD document.

  • createDocumentIngestSession

    Get an upload session for a document conversion.

  • getDocumentIngestJob

    Poll the status of an ingest job.

  • editDocument

    Apply a line-based patch with optimistic locking.

  • findAndReplaceTextInDocument

    Targeted string replacement across the document body.

  • deleteDocument

    Soft-delete a document.

  • listDocumentVersions

    Version history with authors, summaries, and timestamps.