device_diff
Compares Max for Live device or .maxpat states to list added, removed, and changed boxes, lines, parameters, and files; defaults to unsaved edits vs disk or compares against another patch file.
Instructions
Structural diff. Default: unsaved in-memory edits vs the file as read from disk. With against (another
.amxd/.maxpat path, e.g. a .bak): that file vs the current state. Lists boxes/lines added, removed and
changed per embedded file, parameter registry changes, and binary file changes.
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": "device_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| against | No | ||
| max_lines | No |