Mermaid — 18 Operations for AI Agents
Mermaid puts diagrams in version control — flowcharts, sequence diagrams, architecture sketches living next to the code they describe. act101 reads diagram definitions as structure, so agents update the picture when they update the system.
This page is the canonical reference an AI coding agent uses to refactor, query, and analyze Mermaid code through the act MCP server. 18 operations available: 0 refactor, 18 query, 0 analysis. Each operation is callable from Claude Code, Cursor, Codex, OpenCode, or any MCP-compatible agent host. Click any operation for a stable anchor link suitable for citation.
Query
18 query tools, the same on every supported language. Descriptions live in the shared reference: /docs/query-tools.
callers control_flow data_flow definition diagnostics effect_closure effect_summary fix_auto get_type graph import_organize interface mutations references repo_outline skeleton symbols symbols_batch