Set Active Instance
set_active_instanceSelect the default Maya instance that handles calls without a session_key when multiple Maya sessions are open.
Instructions
Choose which connected Maya instance handles calls that omit session_key.
Useful when several Maya instances are open.
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": {
"instance_id": "<instance_id>"
},
"name": "set_active_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | Yes | session_key from list_sessions to make the default target. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||