discover_restconf
Diagnose RESTCONF connectivity, verify credentials, and list exposed YANG modules to find correct data paths when RESTCONF paths fail.
Instructions
Diagnose RESTCONF connectivity and list the YANG modules the switch exposes.
Probes /.well-known/host-meta, /restconf, RESTCONF capabilities and the YANG library. Use this to (1) verify reachability and credentials, and (2) find the correct data paths when another tool reports that no RESTCONF path worked. Output: reachable, auth_ok, modules [{name, revision}], per-probe HTTP status.
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": "discover_restconf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||