get_diagram_image
Fetch PNG images of Cacoo diagrams for review, documentation, or sharing. Specify a sheet ID to get one sheet; omit it to retrieve all sheets.
Instructions
Fetch PNG image(s) of a Cacoo diagram. If sheetId is omitted, fetches ALL sheets. When the diagram has many sheets (sheetCount > 3), use get_diagram_sheets first to identify the target sheet.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | PNG width in pixels | |
| height | No | PNG height in pixels | |
| sheetId | No | Specific sheet ID | |
| diagramId | Yes | Cacoo diagram ID |