Add Session
add_sessionManually register a Maya session at a known host and port when auto-discovery fails or you need to connect to a specific Maya instance.
Instructions
Manually add a Maya session at a specific host and port.
Boundary: Disambiguated from list_sessions (report the sessions the SessionManager already discovered) and maya_setup_guide (diagnose and repair a connection) — add_session registers a host:port you already know.
Use this when auto-discovery doesn't find your Maya session, or to connect to a Maya instance on a specific port.
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": "add_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | The session host (default: "127.0.0.1") | 127.0.0.1 |
| port | No | The session port number (default: 7001) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| host | Yes | ||
| port | Yes | ||
| user | Yes | ||
| scene_name | No | ||
| scene_path | No | ||
| session_key | Yes | ||
| maya_version | No |