export_pdf
Exports the active drawing as a PDF without changing it; saves beside the source by default or to a specified path and reports file size.
Instructions
Export the active drawing as a PDF. The drawing itself is not saved, renamed or changed. Without filepath the PDF is written next to the saved drawing under the same name. Reports the file size.
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_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | No | Where to write it, e.g. C:\Work\door.pdf (default: next to the drawing) |