patch_find
Find boxes across embedded Max patchers by text query, maxclass, or attribute, returning file and box paths for inspection.
Instructions
Find boxes in all embedded patchers. query is a case-insensitive substring of text, varname, bpatcher
name, parameter longname, hint or annotation (prefix 're:' for a regex). maxclass e.g. 'live.text',
'newobj', 'bpatcher'. attr is 'key' (has attribute) or 'key=value'. Returns file + box path for each hit.
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>"
},
"name": "patch_find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| attr | No | ||
| file | No | ||
| path | Yes | ||
| limit | No | ||
| query | No | ||
| maxclass | No |