open_diagram
Open a specific Mermaid block from a Markdown file in Mermaid.ai's shared scratch diagram, replacing its current content. Use after listing diagrams to select by ID or index.
Instructions
Open one linked Mermaid block in the shared Mermaid.ai scratch diagram.
This changes the shared scratch diagram. Provide exactly one of block_id or block_index, normally after calling list_diagrams.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block_id | No | Stable Mermaid block id from list_diagrams. Provide exactly one of block_id or block_index. | |
| document | Yes | Absolute or user-expanded path to a .md / .markdown file. | |
| block_index | No | 1-based index of the Mermaid block in the document. Provide exactly one of block_id or block_index. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||