tag_elements
Places annotation tags on Revit elements in a specified view, displaying properties such as type, mark, or room, with optional leaders, orientation, and offset.
Instructions
Tag elements with annotation symbols in a view.
Places tags on the specified elements. Tags display element properties like type name, mark, or room name/number. Works with walls, doors, windows, rooms, and other taggable categories.
Args: element_ids: List of element IDs to tag view_name: View to place tags in (defaults to active view) tag_type_name: Tag family type name (auto-detects appropriate tag if omitted) add_leader: Show leader line from tag to element (default: false) orientation: Tag orientation — "horizontal" or "vertical" (default: "horizontal") offset: Tag offset from element center {"x": float, "y": float} in mm ctx: MCP context for logging
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": {
"element_ids": "<element_ids>"
},
"name": "tag_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| view_name | No | ||
| add_leader | No | ||
| element_ids | Yes | ||
| orientation | No | horizontal | |
| tag_type_name | No |