get_config_diff
Compare current Junos configuration against a selected rollback version to identify changes. Specify hostname and optional rollback ID to retrieve a diff for review.
Instructions
Show configuration difference compared to a rollback version.
Args: hostname: Target device hostname (must exist in config.ini) rollback_id: Rollback version to compare against (0-49, default 1) config_path: Path to config.ini (empty string uses default search)
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": {
"hostname": "<hostname>"
},
"name": "get_config_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | ||
| config_path | No | ||
| rollback_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |