vyos_show_config
Fetch the full or partial running configuration of a VyOS router by specifying path segments.
Instructions
Retrieve the running VyOS configuration (full or partial).
Pass an empty path list for the entire config tree, or specify path segments to retrieve a subtree.
Args: params: path — config path segments (e.g. ["interfaces", "ethernet"])
Returns: str: JSON configuration data for the requested path.
Examples: - Full config: path=[] - Interfaces only: path=["interfaces"] - Specific interface: path=["interfaces", "ethernet", "eth0"] - Firewall rules: path=["firewall"] - BGP config: path=["protocols", "bgp"]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |