vyos_validate
Validate VyOS configuration syntax by temporarily applying commands in a 1-minute commit-confirm window that auto-rolls back; successful responses mean syntax is valid.
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 HTTP error means the
commands contain invalid syntax or paths — unless it says the changes were
COMMITTED, in which case they persist and must be reviewed.
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"]}]
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": {
"commands": "<commands>"
},
"name": "vyos_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commands | Yes |