get_diagram_image_by_id
Retrieve a PNG image of a diagram using its ID. Obtain the ID from the get_all_diagrams_info tool.
Instructions
Retrieve a PNG image of a diagram by its ID. Use get_all_diagrams_info first to obtain IDs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"diagramId": "<diagramId>"
},
"name": "get_diagram_image_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diagramId | Yes | Diagram ID. Obtain from get_all_diagrams_info tool (each diagram entry has an 'id' field). |