get_commands
Retrieve a complete list of all available features in Revit plugins, including their names, descriptions, and tooltips, using JSON-RPC 2.0. No additional parameters required.
Instructions
获取所有功能商店里的功能,每个功能包含名称、描述和提示信息,遵循JSON-RPC 2.0规范。 mcp_tool使用时params不要有任何注释信息
特性:
- 获取Revit插件中所有可用功能的完整列表
- 返回每个功能的名称、描述和提示信息
- 无需额外参数,直接获取所有功能
- 完善的错误处理机制
参数: ctx (Context): FastMCP上下文对象 method (str): JSON-RPC方法名,默认为"GetCommands"
返回: dict: JSON-RPC 2.0格式的响应,结构为: 成功时: { "jsonrpc": "2.0", "result": [ { "name": "功能名称", "description": "功能描述", "tooltip": "功能提示" }, ... ], "id": request_id } 失败时: { "jsonrpc": "2.0", "error": { "code": int, "message": str, "data": any }, "id": request_id }
示例: # 获取所有功能 response = get_commands(ctx)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
method | No | GetCommands |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Revit MCP Server
- active_view
- call_func
- create_cable_trays
- create_door_windows
- create_ducts
- create_family_instances
- create_floor_plan_views
- create_floors
- create_grids
- create_levels
- create_pipes
- create_rooms
- create_room_tags
- create_sheets
- create_walls
- delete_elements
- execute_commands
- find_elements
- get_commands
- get_locations
- get_selected_elements
- link_dwg_and_activate_view
- move_elements
- parameter_elements
- show_elements
- update_elements
Related Tools
- @ZedMoster/revit-mcp
- @ZedMoster/revit-mcp
- @ZedMoster/revit-mcp
- @revit-mcp/revit-mcp
- @ZedMoster/revit-mcp