patch_connect
Connects a source box outlet to a destination box inlet in the same Max patcher, validating 0-based outlet and inlet indices against each box.
Instructions
Connect src outlet -> dst inlet (0-based). Both boxes must be in the same patcher; indices are checked against the boxes' numoutlets/numinlets.
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": {
"path": "<path>",
"src": "<src>",
"outlet": "<outlet>",
"dst": "<dst>",
"inlet": "<inlet>"
},
"name": "patch_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst | Yes | ||
| src | Yes | ||
| file | No | ||
| path | Yes | ||
| inlet | Yes | ||
| outlet | Yes |