vyos_show_config
Retrieve a VyOS configuration tree or subtree as structured JSON for desired-state comparisons, with optional unredacted secrets. Valid-but-empty paths return configured false.
Instructions
Retrieve the VyOS configuration tree (or a subtree) as structured JSON.
Args: path: Configuration path to read (list or space-separated string). Omit or pass an empty list to return the entire configuration. include_secrets: Return credential values unredacted (default False).
A valid path that holds no configuration returns {"configured": false} rather than raising, so desired-state comparisons work on a fresh system.
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": "vyos_show_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| include_secrets | No |