send_message
Send control messages to a Pure Data synth via OSC or FUDI. Adjust tempo, trigger notes, send CC, bang, or update parameters using bridge patch.
Instructions
Send a control message to a running Pure Data instance via OSC (UDP) or FUDI (TCP). Requires a bridge patch loaded in Pd — use create_from_template with template 'bridge' to generate one. Common addresses: /pd/tempo , /pd/note , /pd/cc <cc#> , /pd/bang, /pd/param/ . The confirmation is ALWAYS returned in the response. Do NOT attempt additional file operations after calling this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protocol | No | Protocol: "osc" (UDP, binary) or "fudi" (TCP, text). Default: "osc". | osc |
| host | No | Target host. Default: 127.0.0.1 (localhost). | 127.0.0.1 |
| port | No | Target port. Default: 9000 (OSC) or 3000 (FUDI). | |
| address | Yes | Message address/selector. OSC: "/pd/tempo". FUDI: "tempo". Common: /pd/tempo, /pd/note, /pd/cc, /pd/bang, /pd/param/<name>. | |
| args | No | Message arguments (integers, floats, or strings). |