vyos_show
Execute show commands on VyOS to retrieve operational data including interface status, routing tables, and system information.
Instructions
Run an operational-mode 'show' command.
Equivalent to running 'show ' in the VyOS CLI. Returns the text output of the command.
Args: params: path — command path segments
Returns: str: Command output text.
Examples: - System images: path=["system", "image"] - Interface status: path=["interfaces"] - BGP summary: path=["ip", "bgp", "summary"] - Route table: path=["ip", "route"] - DHCP leases: path=["dhcp", "server", "leases"] - Firewall stats: path=["firewall"] - System uptime: path=["system", "uptime"] - VPN status: path=["vpn", "ipsec", "sa"]
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": {
"params": "<params>"
},
"name": "vyos_show"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |