Connect To Maya
maya.connectConnect to Maya's command port to send commands and manipulate the scene remotely.
Instructions
Establish a connection to Maya's commandPort
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": "maya.connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Target host (localhost only) | localhost |
| port | No | Target port number | |
| source_type | No | Command interpreter type | python |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | Yes | ||
| error | Yes | ||
| connected | Yes |