export_document
Export Visio documents or pages to PNG, PDF, SVG, EMF, or VSDX by setting the output path and format.
Instructions
Export the Visio document or a page to PNG, PDF, SVG, EMF, or VSDX.
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": {
"outputPath": "<outputPath>",
"format": "<format>"
},
"name": "export_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Export format. Must match file extension. | |
| pageIndex | No | 0-based page index. Omit to export all (PDF only). | |
| outputPath | Yes | Absolute path for the output file. |