patch_set_attrs
Set or remove Max patch box attributes, including nested dotted keys and Live parameter attributes, and block text edits that would leave existing lines dangling.
Instructions
Set/remove box attributes (dotted keys reach nested dicts). Changing an object's text re-infers its
in/outlets and refuses if existing lines would dangle. set={'parameter': {...}} edits the Live parameter
attributes and re-registers the longname. Ids cannot change.
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>",
"box": "<box>"
},
"name": "patch_set_attrs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | Yes | ||
| set | No | ||
| file | No | ||
| path | Yes | ||
| unset | No | ||
| allow_rename | No |