parse_patch
Convert Pure Data .pd files into structured descriptions of objects, connections, and signal flow for analysis.
Instructions
Parse a Pure Data .pd file and return a structured description of its objects, connections, and signal flow.
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": {
"source": "<source>"
},
"name": "parse_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Absolute file path to a .pd file, or raw .pd text content. If it starts with '#N canvas' it is treated as raw text. |