connect_modules
Connect two modules in a VCV patch by specifying source and destination module IDs and port indices.
Instructions
Connect two modules with a cable
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": {
"filepath": "<filepath>",
"from_module_id": "<from_module_id>",
"from_output": "<from_output>",
"to_module_id": "<to_module_id>",
"to_input": "<to_input>"
},
"name": "connect_modules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Cable color (hex, e.g., '#ff5252') | |
| filepath | Yes | Path to the .vcv patch file | |
| to_input | Yes | Input port index | |
| from_output | Yes | Output port index | |
| to_module_id | Yes | Destination module ID | |
| from_module_id | Yes | Source module ID |