analyze_diagram
Inspect a stored flowchart's structure to surface orphan nodes, cycles, hubs, and disconnected clusters, optionally posting findings as diagram comments.
Instructions
Analyze a stored flowchart diagram's structure (nodes, edges, subgraphs) and return actionable findings — orphan nodes, over-connected hubs, cycles, disconnected clusters, and grouping suggestions. Flowchart diagrams only. Set postAsComments: true to also persist each finding as a comment on the diagram (node-pinned where the finding names a single node) so a human reviewer sees them on the diagram surface.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Diagram UUID | |
| space | No | Which workspace to act in: its id, its slug, or its exact name (case-insensitive). Omit to use this token's default workspace. Call list_spaces to see what this token can reach. A name that matches more than one workspace is refused — pass the id or slug instead. | |
| postAsComments | No | If true, persist each finding as a comment on the diagram instead of only returning ephemeral prose. |