Show a diagram
view_diagramCreate a visual diagram of a process or system (flow or architecture) on a local webpage, returning a URL for viewing.
Instructions
Draw a diagram on a local web page, without a plan or a report attached. Use this when the user asks how something works and the answer is a picture: a flow of steps, or the shape of a system. Hard limit of 9 nodes - if the subject needs more, call this several times: one overview diagram, then one per sub-flow. Never send colors, coordinates or SVG; the server does the layout and the styling. Returns a single line with the page URL - reply with that line only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Short title for the diagram. | |
| diagram | Yes | Do NOT send colors, coordinates, sizes or SVG. The server assigns all visual properties and runs the layout. |