vyos_validate
Validate VyOS configuration syntax by temporarily applying commands for 1 minute and rolling back automatically. Ensures syntax correctness without persisting changes.
Instructions
Validate VyOS configuration syntax without persisting changes.
Applies commands with a 1-minute commit-confirm window and does NOT
confirm, so the router automatically rolls back. This is not a true
dry-run — the configuration is temporarily applied for up to 1 minute.
A successful response means the syntax is valid. An error means the
commands contain invalid syntax or paths.
Args:
commands: List of config operations, each with 'op'
('set'/'delete') and 'path' (list of strings).
Example: [{"op": "set", "path": ["firewall",
"group", "network-group", "MY_GROUP"]}]Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes |