netconf_get_operational
Retrieve operational state from network devices using NETCONF YANG models. Specify device and operation to get system info, interfaces, BGP summary, or routing table.
Instructions
Retrieve operational state via NETCONF using YANG models.
Uses pre-defined YANG filters for common operations. Supported operations: system_info, interfaces, bgp_summary, routing_table.
Args: device: Name of the device as defined in devices.yaml operation: YANG operation (e.g. 'system_info', 'interfaces')
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>",
"operation": "<operation>"
},
"name": "netconf_get_operational"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | ||
| operation | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |