Skip to main content
Glama
Axus Revit

Axus Revit

export_document

Export a Revit view or sheet to PDF, PNG, JPG, or DWG, using the active view when none is specified.

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

NameRequiredDescriptionDefault
formatNopdf
view_nameNo
resolutionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does disclose that the call writes a file to disk and that resolution is ignored for PDF/DWG. It omits the destination path/overwrite behavior and what is returned, which are precisely the risk-relevant facts for a filesystem-writing tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is front-loaded and the following lines are compact. The Args block duplicates schema defaults and mentions a ctx parameter that does not appear in the input schema, which is minor waste and slight noise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter write tool with no annotations and no output schema, the description should settle where the file lands and what the caller gets back. It covers formats, defaults, and the active-view fallback but leaves output location, overwrite behavior, and the return value unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it largely does: it explains view_name's active-view fallback, enumerates format values, and states resolution is DPI defaulting to 300 and ignored for PDF/DWG. The notable hole is that no parameter controls the output file location, leaving 'a file on disk' ambiguous.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: export a Revit view or sheet to PDF/image. It distinguishes the scope (view vs sheet, active view fallback) clearly enough that an agent knows what gets acted on, though it does not contrast itself with export_ifc, export_room_data, or save_document.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an implied usage rule — export the named view, or fall back to the active view if none is specified — which is real guidance for calling it. It never says when to choose this over export_ifc or save_document, so the agent must infer the boundary from tool names alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.