get_device_config
Retrieve the running configuration of a network device for inspection. Optionally filter by a specific section like BGP or OSPF.
Instructions
Retrieve the running configuration of a network device (read-only).
Args: device: Hostname of the network device. section: Config section (e.g., 'bgp', 'ospf'). Returns full config if empty.
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": {
"device": "<device>"
},
"name": "get_device_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | ||
| section | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |