Model MCP
v3.0.0Revit MCP server. Agent install: https://sharafutdinovdi.github.io/revit-model-mcp/agent-install/
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
revit_jobs List Revit Jobs
List recent jobs, or wait up to wait_seconds (0 to 50, default 40) for the result of an action jobId. Results stay on the workstation for 24 hours, across server restarts. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
document | doc: ID/path/title across several Revit instances. | |
job_id | ||
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
wait_seconds | integer | Seconds to wait, 0 through 50. |
revit_compare_link_datums Compare Link Datums
Compare host grids and levels with one loaded Revit link. Changes nothing. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
link * | string | |
document | doc: ID/path/title across several Revit instances. | |
kinds | ||
level_offset_mm | number | |
name_map | ||
prefix | string | |
process_id | Revit PID; must match document. | |
reuse_matching | boolean | |
suffix | string | |
timeout_seconds | integer | Result wait in seconds. |
tolerance_mm | number |
revit_ping Check Revit Connection
Check the connection to Revit without reading the model. Returns data="pong", even when no document is active. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
document | doc: ID/path/title across several Revit instances. | |
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
revit_nwc_settings_check Check NWC Settings
Parse a Navisworks exporter XML file on the Revit workstation without exporting. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
settings_xml * | string | |
document | doc: ID/path/title across several Revit instances. | |
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
revit_document_info Document Info
Read model filename, Revit version, levels (mm), area schemes, worksets and view count. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
document | doc: ID/path/title across several Revit instances. | |
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
revit_documents Open Documents
List every open document in one Revit process, including background documents. Linked documents are listed only when include_linked is set. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
document | doc: ID/path/title across several Revit instances. | |
include_linked | boolean | |
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
revit_ui_state Revit UI State
Read the active document, open views, selection and open documents. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
process_id | Revit PID; must match document. |
revit_api_lookup Look up Revit API types and members
Look up public Revit API types and members. The agent calls this before writing C# for an unfamiliar type. Results describe the running Revit's API version only. XML summaries are optional. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
document | doc: ID/path/title across several Revit instances. | |
include_inherited | boolean | |
include_obsolete | boolean | |
kind | string | |
limit | integer | |
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
revit_model_snapshot Model Snapshot
Read schema-v1 project snapshots for batch audits; closed worksets can omit data. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
document | doc: ID/path/title across several Revit instances. | |
parameter_rules | ||
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
revit_model_health Model Health Check
Read model quality counts: project metadata, file size, counts, units and the ten most frequent warning groups. Unavailable metrics are null and listed in skipped. output_path also writes an .xlsx health report with up to five snapshots. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
document | doc: ID/path/title across several Revit instances. | |
output_path | New .xlsx health report path, resolved on the machine running this server; parent must exist and existing files are refused. | |
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
revit_links_status Links Status
Read RVT, CAD and image link status. Each list is capped at 100 entries; summary counts cover all links. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
document | doc: ID/path/title across several Revit instances. | |
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
revit_parameter_fill_check Parameter Fill Check
Count filled, empty and missing parameters per parameter and category, with samples of empty and missing element IDs. Numeric zero counts as filled. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
categories * | array | Category names (1 to 20) from the categories catalog; matches any listed category. |
parameters * | array | Exact localized parameter names (1 to 30); names that do not match count as missing. |
document | doc: ID/path/title across several Revit instances. | |
include_types | boolean | |
level | ||
process_id | Revit PID; must match document. | |
sample_limit | integer | Maximum sampled element IDs per empty and missing list, 1 to 100 (default 20); counts always cover all elements. |
timeout_seconds | integer | Result wait in seconds. |
view | Exact non-template view name; limits the search to that view. | |
workset |
revit_list_catalog List Catalog
List categories, family-types, levels, area-schemes, views, worksets, ownership, phases or parameters. Worksets: counts, owner, open state. Ownership: limit candidates, checked-out rows, nextOffset, no name_contains. Worksharing requires a workshared model. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
section * | string | |
document | doc: ID/path/title across several Revit instances. | |
limit | integer | |
name_contains | Case-insensitive substring of the view name. | |
offset | integer | |
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
revit_aggregate_elements Aggregate Elements
Summarize matching elements by one or two fields, with optional sum and average. Lengths use mm, areas m2, volumes m3. For area totals, group by level and select the area scheme. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
group_by * | array | One or two distinct fields (e.g. category, family, type, level) or exact localized parameter names. |
area_scheme | Exact area-scheme name, case-insensitive. | |
categories | ||
document | doc: ID/path/title across several Revit instances. | |
family | ||
level | ||
parameter_filters | AND-combined filters: parameter (exact localized name), operator (equals, contains, greater, less, empty, not-empty, exists) and value. Numbers use mm, m2, m3 or display units. | |
phase | ||
process_id | Revit PID; must match document. | |
sum_field | Numeric field or parameter name to sum and average per group; lengths in mm, areas m2, volumes m3. | |
timeout_seconds | integer | Result wait in seconds. |
type_name | Exact type name, case-insensitive. | |
view | Exact non-template view name; limits the search to that view. | |
workset |
revit_query_elements Query Elements
Read matching rows with filters and paging. link: instance ID, exact name or * (top-level loaded links); omitted: host. view cannot combine with link. unique_id: UniqueId lookup. Linked rows name their instance; geometry is in host model mm, levels use link names. Lengths mm, areas m2, volumes m3. roomCenterMm is inside the room. hasMore=true: more pages. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
area_scheme | Exact area-scheme name, case-insensitive. | |
categories | ||
document | doc: ID/path/title across several Revit instances. | |
family | ||
fields | ||
include_geometry | boolean | Include location, boundingBox and roomCenterMm in model mm. Default false; true enlarges the response. |
level | ||
limit | integer | |
link | Linked IDs are local to the link, not accepted by action tools. | |
offset | integer | |
parameter_filters | AND-combined filters: parameter (exact localized name), operator (equals, contains, greater, less, empty, not-empty, exists) and value. Numbers use mm, m2, m3 or display units. | |
phase | ||
process_id | Revit PID; must match document. | |
sort_direction | string | asc (default) or desc, case-insensitive. |
sort_field | string | System field (e.g. id, category, level) or exact localized parameter name to sort by; default id. |
timeout_seconds | integer | Result wait in seconds. |
type_name | Exact type name, case-insensitive. | |
unique_id | ||
view | Exact non-template view name; limits the search to that view. | |
workset |
revit_list_sheets List Sheets
List sheets, placed view IDs and unplaced views. Counts: sheetCount, unplacedViewCount. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
document | doc: ID/path/title across several Revit instances. | |
include_unplaced_views | boolean | |
limit | integer | |
offset | integer | |
process_id | Revit PID; must match document. |
revit_list_views List Views
List non-template views with id, name, type, level, scale and template. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
document | doc: ID/path/title across several Revit instances. | |
name_contains | Case-insensitive substring of the view name. | |
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
view_type | English ViewType name such as FloorPlan or ThreeD, case-insensitive. |
revit_view_info View Info
Inspect one view's template, display, categories, worksets, filters and links. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
view * | string | Exact non-template view name from revit_list_views, or a view ID as a decimal string. |
document | doc: ID/path/title across several Revit instances. | |
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
revit_view_summary View Summary
Read element categories and counts for a selected view. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
view * | string | Exact non-template view name from revit_list_views, or a view ID as a decimal string. |
document | doc: ID/path/title across several Revit instances. | |
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
revit_schedule_data Read Schedule Data
Read displayed schedule header and body cell text, with paging. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
schedule * | string | Exact schedule name or decimal Revit view ID. (Use the id when two schedules share a name.) |
document | doc: ID/path/title across several Revit instances. | |
max_rows | integer | |
offset | integer | |
process_id | Revit PID; must match document. |
revit_capture_elements Capture Elements
Capture 1-500 elements as PNG (3d/plan, local/SSH); temporary view rolls back. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
element_ids * | array | |
camera_coordinate_base | string | |
document | doc: ID/path/title across several Revit instances. | |
mode | string | |
output_path | New PNG path, resolved on the machine running this server; an existing file is an error. Default null downloads to a temporary directory and returns localPath. | |
padding_mm | number | |
pixel_size | integer | PNG size in pixels along the fitted dimension, 32 to 4000 (default 1600); Revit rejects smaller images. |
process_id | Revit PID; must match document. |
revit_export_view Save view as PNG
Write a PNG image of the selected Revit view to the new .png file the user names through output_path on the computer running the AI app. Omitting output_path uses a temporary folder. A destination already present is refused. The active view and model remain unchanged. skipped means incomplete; skippedCount is the total skipped.
| Parameter | Type | Description |
|---|---|---|
view * | string | Exact non-template view name from revit_list_views, or a view ID as a decimal string. |
document | doc: ID/path/title across several Revit instances. | |
output_path | New PNG path, resolved on the machine running this server; an existing file is an error. Default null downloads to a temporary directory and returns localPath. | |
pixel_size | integer | PNG size in pixels along the fitted dimension, 32 to 4000 (default 1600); Revit rejects smaller images. |
process_id | Revit PID; must match document. |
revit_view_elements View Elements
Read one page of elements in a selected view, with IDs, category, family, type, level and measurements (mm, m2, m3). skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
view * | string | Exact non-template view name from revit_list_views, or a view ID as a decimal string. |
categories | ||
document | doc: ID/path/title across several Revit instances. | |
limit | integer | |
offset | integer | |
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
revit_element_details Element Details
Read parameters, type, warnings and geometry by element_id or unique_id (UniqueId). link: instance ID, exact name or *; omitted: host. Top-level links only; ambiguous matches require an instance ID. Linked geometry is in host model mm. roomCenterMm is inside the room. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
document | doc: ID/path/title across several Revit instances. | |
element_id | Revit element ID from revit_query_elements or revit_view_elements. | |
link | Linked IDs are local to the link, not accepted by action tools. | |
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
unique_id |
revit_view_warnings View Warnings
Read warnings involving elements present in a selected view. A warning may also involve elements outside the view. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
view * | string | Exact non-template view name from revit_list_views, or a view ID as a decimal string. |
document | doc: ID/path/title across several Revit instances. | |
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
revit_list_warnings List Warnings
Group model warnings by description text. warning_text with include_elements=true returns the elements of one group. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
document | doc: ID/path/title across several Revit instances. | |
include_elements | boolean | Include affected elements (ID, category, name) per group. Default false returns counts only. |
process_id | Revit PID; must match document. | |
timeout_seconds | integer | Result wait in seconds. |
warning_text | Exact warning description from revit_list_warnings, case-insensitive; an unmatched text is an error. |
revit_list_relations List Relations
Read model object membership or dependencies. relation is level-rooms, area-scheme-elements or view-template-dependents (with source_name), or group-elements or nested-family (with source_id). skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
relation * | string | |
document | doc: ID/path/title across several Revit instances. | |
process_id | Revit PID; must match document. | |
source_id | Revit ID of the source group (group-elements) or family instance (nested-family). | |
source_name | Source name, case-insensitive: a level (level-rooms), area scheme (area-scheme-elements) or view template (view-template-dependents). | |
timeout_seconds | integer | Result wait in seconds. |
revit_list_instances List Instances
List Revit processes with documentName, documentPath, revitVersion, processId and pluginResponding. Busy or unresponsive processes stay listed with pluginResponding=false. HTTP mode reports only its connected process.
| Parameter | Type | Description |
|---|---|---|
document | doc: ID/path/title across several Revit instances. |
revit_family_audit Audit Families
Audit an open family or named project families without saving or loading changes. Project mode takes exact family names or ["*"]; family mode takes none. detail="summary" returns parameter counts and up to 20 unused parameter names; detail="full" returns all parameter metadata with group IDs and groupName labels. The wildcard audits the first 200 editable families sorted by name; data.skipped lists each remaining name and reason, with skippedCount. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
detail | string | |
document | doc: ID/path/title across several Revit instances. | |
families | ||
process_id | Revit PID; must match document. | |
timeout_seconds | integer |
revit_export_pack Export Pack
Export ordered tools or an installed pack to a new client file. confirm_token: shown review and explicit yes. revit_jobs recovers jobId.
| Parameter | Type | Description |
|---|---|---|
output_path * | string | |
confirm_token | ||
pack | ||
pack_id | ||
process_id | ||
tools |
revit_install_pack Install Pack
Review pack install. Copy its .mcptools.json into ~/Documents/Model MCP/Packs (or REVIT_MCP_EXCHANGE_ROOT); pass name and sha256. confirm_token: shown full review and explicit yes. revit_jobs recovers jobId.
| Parameter | Type | Description |
|---|---|---|
file * | string | |
sha256 * | string | |
allow_downgrade | boolean | |
confirm_token | ||
process_id | ||
replace_modified |
revit_diff_packs Compare Packs
Diff installed packs or client files with SHA-256. revit_jobs recovers jobId.
| Parameter | Type | Description |
|---|---|---|
after * | ||
before * | ||
process_id |
revit_remove_pack Remove Pack
Review removal and retained edits. confirm_token requires a shown review and explicit yes. No Undo. revit_jobs recovers jobId.
| Parameter | Type | Description |
|---|---|---|
pack_id * | string | |
confirm_token | ||
process_id |
revit_set_read_only Set Workstation Read-only
Set the workstation read-only lock for all Revit versions of this Windows user. Locking needs no token. Unlocking requires a user request and explicit confirmation. The first call returns confirmationText and a token; the second call with confirm_token unlocks. Workstation policy cannot be changed.
| Parameter | Type | Description |
|---|---|---|
enabled * | boolean | |
confirm_token |
revit_open_document Open Document
Open a local, UNC or RSN model. Central models open detached by default. Cloud paths are unsupported. May commit; revit_jobs polls; retry repeats.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
activate | boolean | |
audit | boolean | |
mode | string | |
process_id | ||
worksets |
revit_activate_document Activate Document
Activate an already open document by title or path reference.
| Parameter | Type | Description |
|---|---|---|
document * | string | |
process_id |
revit_activate_view Activate View
Activate a non-template view. Zoom to fit, preserve zoom, or frame element IDs.
| Parameter | Type | Description |
|---|---|---|
view * | string | |
activate_document | boolean | |
document | Target document title or path reference. | |
process_id | ||
view_type | ||
zoom |
revit_close_views Close Views
Close open UI views in the active document.
| Parameter | Type | Description |
|---|---|---|
keep_active | boolean | |
process_id | ||
views |
revit_new_document New Document
Create a project or family from a template on the Revit workstation.
| Parameter | Type | Description |
|---|---|---|
activate | boolean | |
kind | string | |
name | ||
process_id | ||
save_as | ||
template |
revit_close_document Close Document
Close a background document. Confirmation is required when saving or discarding changes, except MCP-opened detached noncentral documents closed without saving.
| Parameter | Type | Description |
|---|---|---|
document * | string | |
confirm_token | ||
process_id | ||
save | boolean |
revit_save_document Save Document
Save a document. Needs confirm_token from a first call, which changes nothing.
| Parameter | Type | Description |
|---|---|---|
document * | string | |
compact | boolean | |
confirm_token | ||
overwrite | boolean | |
process_id | ||
save_as |
revit_sync_document Synchronize Document
Synchronize a workshared document with central. Needs confirm_token from a first call, which changes nothing.
| Parameter | Type | Description |
|---|---|---|
comment * | string | |
document * | string | |
compact | boolean | |
confirm_token | ||
process_id | ||
relinquish | ||
save_local_after | boolean | |
save_local_before | boolean |
revit_set_view_visibility Set View Visibility
Change category, workset and filter visibility in one view; dry_run previews. Categories accept the Revit UI name, the BuiltInCategory name (OST_StructuralColumns), the English name or an ID.
| Parameter | Type | Description |
|---|---|---|
view * | string | |
category_classes | ||
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
filters | ||
hide_categories | ||
hide_categories_by_type | ||
show_categories | ||
template_mode | ||
worksets |
revit_remove_links Remove Links
Delete selected link types and their instances; dry_run previews. Cannot be undone in Revit. Needs confirm_token from a first call, which changes nothing.
| Parameter | Type | Description |
|---|---|---|
links * | ||
confirm_token | ||
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
include_imported_cad | boolean | |
kinds |
revit_save_tool Save My Tool
Compile C#/schema without execution; confirm to save. Returns full source, hash and token. Makes reusable buttons; standalone .csproj add-ins and GUI automation are outside this workflow. code: statements only, no using directives or wrappers, System and Autodesk.Revit namespaces pre-imported. Icon is auto-picked from the name; enable in Model MCP > My tools. Uses a two-step AI app token handshake.
| Parameter | Type | Description |
|---|---|---|
code * | string | |
description * | string | |
name * | string | |
parameters * | object | |
confirm_token | ||
mode | string | |
process_id | ||
tested_revit_years |
revit_list_tools List My Tools
List saved tools, packs and disabled sets. My tools > Settings enables built-ins. revit_get_tool reviews saved schemas.
revit_get_tool Review My Tool
Return approved source and schema without execution.
| Parameter | Type | Description |
|---|---|---|
name * | string |
revit_run_tool Run My Tool
Run saved C#; review via revit_get_tool. First run and commits need consent; read/dry_run rolls back. Managed forms use input_files (even {}), output_dir and preview_id. Store needs ExecuteCode=confirm. Timeouts may follow commit; use revit_jobs for jobId. Uses a two-step AI app token handshake.
| Parameter | Type | Description |
|---|---|---|
args * | object | |
name * | string | |
confirm_token | ||
document | ||
dry_run | boolean | |
input_files | ||
output_dir | ||
preview_id | ||
process_id | ||
timeout_seconds | integer | |
transaction | string |
revit_delete_tool Delete My Tool
Delete all revisions with confirm_token after a first confirmation challenge. No Undo. Uses a two-step AI app token handshake.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
confirm_token |
revit_execute_code Execute C# Code
Run a C# body or public static Script.Execute(ScriptContext ctx). Body: statements only, no using directives or wrappers; System and Autodesk.Revit namespaces pre-imported. Buttons: revit_save_tool. docs/script-library.md describes helpers; revit_api_lookup resolves unfamiliar members. auto owns a Transaction; group permits script-owned scopes. All scopes must close; transaction="none" is refused. Needs confirm_token except dry_run (rollback). May commit; revit_jobs polls; retry repeats.
| Parameter | Type | Description |
|---|---|---|
code * | string | |
confirm_token | ||
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
max_seconds | ||
timeout_seconds | integer | |
transaction | string |
revit_undo_last Undo Last Action
Undo the last MCP action through Revit's own undo command. Runs only when the target document is active, no command is pending and Revit's last undo entry is the one this session recorded; otherwise the result carries a refusal reason.
| Parameter | Type | Description |
|---|---|---|
document | Open document title/file substring; required when ambiguous. |
revit_align_link_datums Align Link Datums
Align host grids and levels to a loaded link, with optional creation and rollback preview. Does not create a monitor relationship.
| Parameter | Type | Description |
|---|---|---|
link * | string | |
create_missing | boolean | |
create_plan_views | boolean | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
grid_type | ||
include_pinned | boolean | |
kinds | ||
level_offset_mm | number | |
level_type | ||
name_map | ||
plan_view_type | ||
prefix | string | |
reuse_matching | boolean | |
suffix | string | |
timeout_seconds | integer | |
tolerance_mm | number |
revit_cancel_job Cancel Action Job
Process-models stops between models; completed models stay committed. Scripts and tagging roll back at a check or on return.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | |
document | Open document title/file substring; required when ambiguous. | |
process_id |
revit_select Select Elements
Select element IDs for inspection in Revit; an empty list clears the selection.
| Parameter | Type | Description |
|---|---|---|
element_ids * | array | |
document | Open document title/file substring; required when ambiguous. |
revit_show Show Elements
Display elements in Revit, optionally selecting them; opens a level plan or 3D view when needed.
| Parameter | Type | Description |
|---|---|---|
element_ids * | array | |
document | Open document title/file substring; required when ambiguous. | |
select | boolean |
revit_isolate Isolate Elements
Temporarily isolate element IDs in the active view; an empty list resets.
| Parameter | Type | Description |
|---|---|---|
element_ids * | array | |
document | Open document title/file substring; required when ambiguous. | |
reset | boolean |
revit_move Move Elements
Move elements by dx_mm, dy_mm and dz_mm on model axes. dry_run rolls back and returns the verification block. Group members, pinned, hosted and constrained elements are reported in skipped.inGroup, skipped.pinned, skipped.hosted and skipped.constrained and are not changed; the call is refused if every element is a group member.
| Parameter | Type | Description |
|---|---|---|
dx_mm * | number | |
dy_mm * | number | |
element_ids * | array | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
dz_mm | number |
revit_override_graphics Highlight Elements
Colour elements in selected model views; reset restores overrides saved in this Revit session.
| Parameter | Type | Description |
|---|---|---|
element_ids * | array | |
color | string | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
fill | boolean | |
halftone_others | boolean | |
line_weight | ||
reset | boolean | |
transparency | integer | |
views |
revit_rotate Rotate Elements
Rotate elements about a vertical axis through center_mm, or through their combined bounding box center. dry_run rolls back. Group members, pinned, hosted and constrained elements are reported in skipped.inGroup, skipped.pinned, skipped.hosted and skipped.constrained and are not changed; the call is refused if every element is a group member.
| Parameter | Type | Description |
|---|---|---|
angle_deg * | number | |
element_ids * | array | |
center_mm | ||
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean |
revit_copy Copy Elements
Create 1 to 100 successive copies at multiples of the model-axis offset in mm. dry_run rolls back. Group members are reported in skipped.inGroup; the call is refused if every element is a group member.
| Parameter | Type | Description |
|---|---|---|
dx_mm * | number | |
dy_mm * | number | |
element_ids * | array | |
count | integer | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
dz_mm | number |
revit_mirror Mirror Elements
Mirror across a model X or Y parallel line through point_mm; copy keeps originals. dry_run rolls back. Group members, pinned, hosted and constrained elements are reported in skipped.inGroup, skipped.pinned, skipped.hosted and skipped.constrained and are not changed; the call is refused if every element is a group member.
| Parameter | Type | Description |
|---|---|---|
axis * | string | |
element_ids * | array | |
point_mm * | array | |
copy | boolean | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean |
revit_change_type Change Element Type
Change each element to one compatible type; family resolves duplicate type names. dry_run rolls back. Group members are reported in skipped.inGroup; the call is refused if every element is a group member.
| Parameter | Type | Description |
|---|---|---|
element_ids * | array | |
type_name * | string | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
family |
revit_update_parameters Update Parameters
Update a parameter on elements matching the same filters as revit_query_elements. Group members are reported in skipped.inGroup instead of failing the call; dry_run predicts this.
| Parameter | Type | Description |
|---|---|---|
filters * | ||
parameter * | string | |
value * | ||
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
include_type_parameters | boolean | |
max_elements | integer | |
parameter_id |
revit_place_family Place Family
Place a loaded unhosted family on a named level. family is a name or Family: Type; a null type_name uses the embedded or first type. XY is in mm, rotation in degrees.
| Parameter | Type | Description |
|---|---|---|
family * | string | |
level * | string | |
type_name * | ||
x_mm * | number | |
y_mm * | number | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
rotation_deg | number |
revit_load_family Load Families
Load workstation .rfa files in one undo entry. Existing families are skipped unless overwrite is true.
| Parameter | Type | Description |
|---|---|---|
paths * | array | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
overwrite | boolean | |
overwrite_parameter_values | boolean | |
timeout_seconds | integer |
revit_place_families Place Families
Load optional families and place instances in one transaction and undo entry.
| Parameter | Type | Description |
|---|---|---|
at_rooms | ||
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
load | ||
placements | ||
stop_on_error | boolean | |
timeout_seconds | integer |
revit_create_wall Create Wall
Create a straight wall on a named level. XY endpoints and height are in mm; a null wall_type uses the first basic type.
| Parameter | Type | Description |
|---|---|---|
end_mm * | array | |
level * | string | |
start_mm * | array | |
wall_type * | ||
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
height_mm | number |
revit_create_mep_run Create MEP Run
Create connected duct, pipe, cable tray or conduit segments from model mm points. A missing Z uses the level elevation plus the kind's default offset. Unplaceable elbows are reported as unjoined pairs.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
level * | string | |
points_mm * | array | |
connect_to | ||
diameter_mm | ||
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
height_mm | ||
offset_mm | ||
system_type | ||
type_name | ||
width_mm |
revit_link_cad Link CAD Drawing
Link or import a DWG into a plan view on the Revit workstation. Layer counts and XY extents cover only lines and polyline segments; other geometry is ignored.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
layers | ||
level | ||
link | boolean | |
origin | string | |
timeout_seconds | integer | |
units | string | |
view |
revit_walls_from_cad Build Walls from CAD
Bridge openings, pair parallel CAD lines and join basic walls in one undo entry. Dimensions are mm. Joins Revit rejects are left out and reported as unjoinedEnds with unjoinedReasons; dry_run reports the same join numbers.
| Parameter | Type | Description |
|---|---|---|
cad_id * | integer | |
layers * | array | |
level * | string | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
height_mm | number | |
join | boolean | |
max_gap_mm | number | |
max_thickness_mm | number | |
min_length_mm | number | |
min_thickness_mm | number | |
timeout_seconds | integer | |
wall_type |
revit_create_view Create View
Create a plan, section, 3D or drafting view. Unbounded 3D views show the whole model, shaded, fine detail. Box coordinates are model mm.
| Parameter | Type | Description |
|---|---|---|
kind * | string | |
box | ||
detail_level | ||
display_style | ||
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
element_ids | ||
level | ||
name | ||
scale | ||
template | ||
view_family_type |
revit_duplicate_view Duplicate View
Duplicate a view, optionally with detailing or as a dependent view.
| Parameter | Type | Description |
|---|---|---|
view * | string | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
mode | string | |
name |
revit_apply_view_template Apply View Template
Apply a matching view template to one or more views.
| Parameter | Type | Description |
|---|---|---|
template * | string | |
views * | array | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean |
revit_create_sheet Create Sheet
Create a sheet with the first loaded or a named title block.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
number * | string | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
title_block |
revit_place_views_on_sheet Place Views on Sheet
Place views and schedules on a sheet. Sheet mm coordinates are viewport centers for views and insertion points for schedules; they do not guarantee fit.
| Parameter | Type | Description |
|---|---|---|
sheet * | ||
views * | array | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean |
revit_tag_elements Tag Elements
Tag elements in a view, chosen by category names or by element IDs (exactly one of the two). Returns created tag IDs in createdElementIds; already tagged elements are skipped unless skip_tagged is false, and untaggable inputs are listed in skipped. tag_type matches a tag type name, a family name or "Family: Type"; the default tag type is used otherwise. Room tags need a plan view. dry_run rolls back and returns the tags that would be created.
| Parameter | Type | Description |
|---|---|---|
view * | ||
categories | ||
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
element_ids | ||
leader | boolean | |
max_elements | integer | |
orientation | string | |
skip_tagged | boolean | |
tag_type |
revit_create_schedule Create Schedule
Create a schedule for one category with the named fields in the given order, using Revit UI names such as Mark, Level or Count. filters keep rows by field, operator and value; sort orders and, with header or footer, groups rows. Lengths in mm, areas in m2, volumes in m3. itemized=false collapses identical rows. Returns viewId and the resolved fields; unknown names are listed in skipped. dry_run rolls back.
| Parameter | Type | Description |
|---|---|---|
category * | string | |
fields * | array | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
filters | ||
itemized | boolean | |
name | ||
sort |
revit_set_parameter Set Parameter
Set one instance or type parameter. parameter_id selects by BuiltInParameter name, shared GUID or ParameterElement ID; otherwise parameter takes a localized UI name, BuiltInParameter name or English alias, and ambiguous matches are refused. Value is a string, integer or number by storage type; lengths in mm, areas in m2. Group members fail with a clear message. dry_run rolls back and returns the verification block.
| Parameter | Type | Description |
|---|---|---|
element_id * | integer | |
parameter * | string | |
value * | ||
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
parameter_id |
revit_delete Delete Elements
Delete elements and their Revit dependencies; the count includes dependents. dry_run returns the count. Above 500 elements including dependents a confirm_token from a first call is needed; revit_run_actions refuses such deletions.
| Parameter | Type | Description |
|---|---|---|
element_ids * | array | |
confirm_token | ||
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean |
revit_export Save PDF, DWG, IFC or CSV files
Write PDF, DWG or IFC documents, or CSV schedules, to the folder the user names with output_dir on the Revit workstation. CSV exports include all schedules when views is omitted. Omitting output_dir uses a dated folder under %LOCALAPPDATA%\RevitModelMcp\exports on the Revit workstation. dry_run lists the planned names. overwrite=true replaces an existing destination only through the two-step confirm_token handshake with the AI app. The AI app is expected to show the action to the user; Model MCP provides no separate dialog. The action may commit before returning status=running and jobId; revit…
| Parameter | Type | Description |
|---|---|---|
format * | string | |
all_sheets | boolean | |
confirm_token | ||
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
options | ||
output_dir | ||
overwrite | boolean | |
sheet_set | ||
sheets | ||
timeout_seconds | integer | |
views |
revit_export_nwc Save NWC file
Save an NWC file to a folder the user names through path on the Revit workstation; needs the Navisworks exporter. settings_xml applies exporter XML values, explicit arguments take precedence. Replacing an existing file (overwrite=true) uses a two-step confirm_token handshake with the AI app. The AI app is expected to show the action to you; Model MCP does not show its own dialog. May commit; revit_jobs polls; retry repeats.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
confirm_token | ||
convert_element_properties | ||
convert_lights | ||
convert_linked_cad_formats | ||
coordinates | ||
divide_file_into_levels | ||
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
element_ids | ||
export_element_ids | ||
export_links | ||
export_parts | ||
export_room_as_attribute | ||
export_room_geometry | ||
export_urls | ||
faceting_factor | ||
find_missing_materials | ||
overwrite | boolean | |
parameters | ||
scope | ||
settings_xml | ||
timeout_seconds | integer | |
view |
revit_run_actions Run Actions
Execute up to 50 actions with one undo step; the whole batch rolls back on its first failure. dry_run rolls back and returns the verification block.
| Parameter | Type | Description |
|---|---|---|
steps * | array | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean |
revit_process_models Process Many Models
Open each model in the interactive session, run steps and C# code, export, save as requested, and close. In-place saves and code need a confirm_token from the preview response. dry_run replaces only code.transaction="none" with "auto" and reports the override in warnings. May commit; revit_jobs polls; retry repeats.
| Parameter | Type | Description |
|---|---|---|
code | ||
confirm_token | ||
dry_run | boolean | |
exports | ||
folder | ||
open | ||
paths | ||
pattern | string | |
process_id | ||
recursive | boolean | |
save | ||
steps | ||
stop_on_error | boolean | |
timeout_seconds | integer |
revit_edit_families Edit Families
Edit an open family in place, or named project families (exact names or ["*"]), one load cycle each. A dry run rolls back all changes. May commit; revit_jobs polls; retry repeats.
| Parameter | Type | Description |
|---|---|---|
operations * | array | |
document | Open document title/file substring; required when ambiguous. | |
dry_run | boolean | |
families | ||
overwrite_parameter_values | boolean | |
stop_on_error | boolean | |
timeout_seconds | integer |
revit_batch_start Start batch collection
Start a persistent, read-only run over local, UNC or RSN models. process_id selects the launcher Revit process. open_timeout_minutes is the per-model open deadline (default 30, 45 when upgrading in memory).
| Parameter | Type | Description |
|---|---|---|
folder | ||
open_timeout_minutes | ||
parameter_rules | ||
paths | ||
process_id | ||
recursive | boolean | |
years |
revit_batch_status Batch collection status
Read durable run and model status; can record a stopped supervisor in the run's saved state.
| Parameter | Type | Description |
|---|---|---|
run_id * | string |
revit_batch_cancel Cancel batch collection
Persist cancellation and prevent unstarted models from running.
| Parameter | Type | Description |
|---|---|---|
run_id * | string |
revit_batch_fetch Fetch batch snapshots
Download completed snapshots to new local files without overwriting.
| Parameter | Type | Description |
|---|---|---|
output_dir * | string | |
run_id * | string |
revit_model_audit Audit the model against rules
Audit live or offline snapshots_dir with per-model history. capture_evidence: 25 PNGs/210s. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
batch_models | ||
camera_coordinate_base | string | |
capture_evidence | boolean | |
compare_with | string | |
document | doc: ID/path/title across several Revit instances. | |
process_id | Revit PID; must match document. | |
rules | ||
rules_inline | ||
save | boolean | |
snapshots_dir | ||
timeout_seconds | integer | Result wait in seconds. |
revit_audit_report Build Audit Report
Write server-side XLSX, image-embedded HTML or BCF 2.1 from audit JSON; all selects all. XLSX links sibling PNGs. Refuse existing files.
| Parameter | Type | Description |
|---|---|---|
audit * | string | |
output * | string | |
format | string |
revit_build_report Build Snapshot Report
Build local snapshot Excel reports without Revit.
| Parameter | Type | Description |
|---|---|---|
output_path * | string | New .xlsx path, resolved on the machine running this server; existing files are refused. |
snapshots_dir * | string | MCP-client directory of schema-v1 JSON snapshots. |
findings | Findings: model, severity, rule, element_ids (or elementIds), recommendation. | |
previous_dir | Earlier snapshots, matched by model title (Changes sheet). |
revit_issue_register Issue Register
Write a new local .xlsx issue register with element snapshots and review documents. Takes 1 to 60 issues; captures at most 25 snapshots (by severity) within a 210-second budget, and failed snapshots become cell notes. Snapshots need local or SSH transport. Existing output files are refused. skippedCount counts omissions.
| Parameter | Type | Description |
|---|---|---|
issues * | array | |
output_path * | string | New .xlsx issue register path, resolved on the machine running this server; existing files are refused. |
project * | object | |
document | doc: ID/path/title across several Revit instances. | |
pixel_size | integer | PNG size in pixels along the fitted dimension, 32 to 4000 (default 900); Revit rejects smaller images. |
process_id | Revit PID; must match document. |