Export PDF
drawing_export_pdfExport the current drawing or a named paper-space layout to a PDF file. Specify the output path to generate the PDF from model space or a chosen layout.
Instructions
Export the current drawing (or a paper-space layout) to PDF.
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": {
"path": "<path>"
},
"name": "drawing_export_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Output .pdf file path | |
| layout | No | Paper-space layout to plot (default: model space). COM plots the layout natively incl. viewport content; ezdxf renders the layout's own entities. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||