Compare two drawings
diffCompare two SVG or HTML drawings to report added, removed, renamed, moved, reordered, and recolored items, confirming that an edit produced the intended change.
Instructions
Say what changed between two drawings of the same figure (.svg or .html): items added, removed, renamed, moved, reordered or recolored, as JSON and plain sentences. Read-only. Use it after apply or an edit to confirm the change did what you meant.
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": {
"old": "<old>",
"new": "<new>"
},
"name": "diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new | Yes | The later drawing (.svg or .html). | |
| old | Yes | The earlier drawing (.svg or .html). |