Diff Node Versions
diff_node_versionsCompare two configuration versions for a network node and return a unified diff, or show the most recent change when no versions are specified.
Instructions
Show what changed in a node's configuration between two versions.
Returns a unified diff from 'base_oid' (older) to 'oid' (newer). With no arguments besides the node it shows the most recent 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": {
"node": "<node>"
},
"name": "diff_node_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| oid | No | Newer version oid (full or prefix); defaults to the latest version | |
| node | Yes | Node name or IP address (e.g. 'core-sw01') | |
| group | No | Node group; looked up automatically when omitted | |
| offset | No | Zero-based first diff line to return | |
| base_oid | No | Older version oid to compare against; defaults to the version before 'oid' | |
| max_lines | No | Maximum diff lines to return (0 = whole diff) | |
| context_lines | No | Unchanged lines of context around each change |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||