Generate Code Diagram
generateCodeDiagramGenerate detailed component diagrams with key-value rows and optional icons. Use for repositories, services, configs, or data-rich nodes.
Instructions
Code-level or detailed component diagrams with key-value rows plus optional icons/images. Use for repositories, services, configs, or data-rich nodes. Note: setting imageUrl on a node hides all rows (label + image only); use iconUrl when you need both an icon and key-value fields. For high-level system visuals with mostly image nodes, use generateSystemDiagram.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional document name override. Defaults to the name inside the content payload. | |
| content | Yes | JSON representation of the diagram, with nodes and edges defined as per the schema. |