Render the diagram
render_diagramRender a document’s architecture diagram as a PNG image from its last valid state; omit the document to target the frontmost one.
Instructions
The document's diagram as a PNG image (the last valid state).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "render_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | No | Document id (e.g. doc1), file name or project name. Omit for the frontmost document. |