export_diagram
Export a diagram to PNG, SVG, PDF, or XML. Specify dimensions, scale, and transparency to get the exact file you need.
Instructions
导出图表为指定格式
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": {
"diagram_id": "<diagram_id>",
"format": "<format>"
},
"name": "export_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | 导出格式 | |
| options | No | 导出选项 | |
| diagram_id | Yes | 图表ID |