MCP tools/Diagrams

Diagrams tools.

Diagrams are first-class document children. `listDiagramTypes` returns the catalogue; `getDiagramTypeGuide` returns the syntax reference for a chosen type. Inserts are versioned and their attribution is server-stamped. Architecture diagrams have icon sets (AWS, GCP, Azure, dev) reachable through `listArchitectureIcons`.

Live discovery

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

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

  • deleteDiagramInDocument

    Remove a diagram from a document.

  • getDiagramImage

    Render a diagram that ALREADY exists in a document to an IMAGE (svg/png/jpeg @1x/2x/3x) and return it as a temporary signed URL (expires in 1 hour) plus, for png/jpeg, the image inline so you can se…

  • getDiagramInDocument

    Read a diagram's current source.

  • getDiagramTypeGuide

    Syntax reference for a specific diagram type.

  • insertDiagramInDocument

    Add a new diagram inline in a document.

  • listArchitectureIcons

    Icon sets (AWS, GCP, Azure, dev) for architecture diagrams.

  • listDiagramTypes

    Catalogue of all supported diagram types.

  • renderDiagram

    Generate a diagram from its DSL/code and get the IMAGE back, WITHOUT inserting it into any document or whiteboard.

  • updateDiagramInDocument

    Replace or patch a diagram (versioned).