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.

12 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.

  • 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.

  • deleteDocument

    Soft-delete a document.

  • editDocument

    Apply a line-based patch with optimistic locking. Also moves/repositions a single document via folderId/position.

  • findAndReplaceTextInDocument

    Targeted string replacement across the document body.

  • getCdmdLanguageGuide

    Full CDMD block reference (markdown superset for Stable Baseline).

  • getDocument

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

  • getDocumentIngestJob

    Poll the status of an ingest job.

  • listDocuments

    List documents in a folder or project.

  • listDocumentVersions

    Version history with authors, summaries, and timestamps.

  • reorderDocuments

    Batch-reorder documents by setting sibling positions.