export_document
Export a Revit view or sheet to PDF, image, or DWG format. Choose the view, output type, and image resolution.
Instructions
Export a Revit view or sheet to PDF or image format.
Exports the specified view (or the active view if none specified) to a file on disk. Supported formats: PDF, PNG, JPG, DWG.
Args: view_name: Name of the view or sheet to export (optional, uses active view) format: Output format — "pdf", "png", "jpg", or "dwg" (defaults to "pdf") resolution: DPI for image formats (defaults to 300, ignored for PDF/DWG) ctx: MCP context for logging
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_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view_name | No | ||
| format | No | ||
| resolution | No |