revit_set_active_instance
Bind a session to a specific Revit instance by port or document title, so all subsequent operations run against that selected model.
Instructions
Binds this session to a specific Revit instance/model (by port or document title). All subsequent operations will execute on this instance.
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": "revit_set_active_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| doc_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |