config_rollback
Revert the last committed configuration change on a network device via NAPALM rollback. Use dry-run to verify reachability and show the current running config before rollback.
Instructions
[WRITE] Revert the last committed change via NAPALM rollback(). No undo.
Device support varies (rollback depth is platform-dependent).
dry_run=True cannot predict the resulting config without the device, so it opens a session (verifying reachability) and reports a digest of the current running config — the state rollback would replace — without rolling back.
Args: dry_run: If True, verify reachability and state what rollback would attempt. target: Device name from config.
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_rollback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No |