vyos_load_config
Replace a VyOS router's running configuration from a specified file or a full curly-brace config string to apply desired settings.
Instructions
Replace the running configuration from a file or a config string.
Args: file: Path to a configuration file on the router (e.g. /config/test.config). string: A full configuration in curly-brace format (alternative to file).
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": "vyos_load_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| string | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |