config_diff
Compares the current masked running-config against the last server-saved backup to reveal unsaved changes and reports the device's Config Save Status.
Instructions
Unsaved changes, as far as this device allows: the startup-config cannot be read, so the masked running-config is diffed against the copy save_config stored at the last save through this server (tag pre-save in SWITCH_BACKUP_DIR). Also returns the Config Save Status from show system information. Saves done outside this server are not seen.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "config_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |