generate_diagram_from_ascii
Convert ASCII art diagrams into polished visual diagrams for system architecture, flowcharts, and workflows. Get a browser link to view and edit the generated diagram.
Instructions
Convert an ASCII art diagram into a polished visual diagram. Use this tool when the user has an existing ASCII art representation of a system, flow, or architecture and wants it rendered as a proper diagram. Accepts box-drawing characters, arrow representations (-->, ==>), and plain text layouts. Returns a link to view and edit the generated diagram in the browser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Raw ASCII art diagram to convert into a polished visual diagram. Include the full ASCII art as-is, with box-drawing characters, arrows, or plain text layout. Example: +--------+ +--------+ | Client | --> | Server | +--------+ +--------+ | |
| prompt | No | Additional instruction for rendering. Example: "Use a dark theme and add icons" | |
| diagramType | No | Preferred diagram type. Leave blank to let the AI infer from the ASCII layout. | |
| isIconEnabled | No | Set to true when the user asks to include icons in the diagram. |