fetch_config
Retrieve network device configurations from RESTCONF-capable devices by providing URL and authentication details.
Instructions
Fetch network device configuration via RESTCONF.
Args:
url: RESTCONF URL, e.g. https://device:8443/restconf/data
username: HTTP basic auth username (optional).
password: HTTP basic auth password (optional).
verify_ssl: Whether to verify SSL certificates (default: False).
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": {
"url": "<url>"
},
"name": "fetch_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| username | No | ||
| password | No | ||
| verify_ssl | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |