export
Export the current BPMN diagram as XML or SVG image for sharing and documentation.
Instructions
Export the current diagram as BPMN XML text or an embedded image/svg+xml resource rendered by bpmn-js
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": "export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Export format | xml |
| formatted | No | Whether to format the output (for XML) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | ||
| format | Yes | ||
| filename | Yes | Active BPMN filename | |
| mimeType | Yes | ||
| processId | Yes | Stable generated or existing BPMN ID | |
| byteLength | Yes |