sync_document
Ensure every Mermaid code block in a Markdown file has a Mermaid.ai link. Optionally verify links without editing the file.
Instructions
Create or verify exactly one local Mermaid.ai link for every Mermaid block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | Absolute or user-expanded path to a .md / .markdown file. | |
| check_only | No | When true, only verify managed links and do not write the file. Defaults to false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||