vyos_load_config
Replace the entire VyOS running configuration by loading a configuration file from a specified absolute path.
Instructions
Load a configuration file, replacing the running configuration.
WARNING: This replaces the entire running config with the file contents.
Args: params: file — absolute path on VyOS filesystem
Returns: str: Success message or error.
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": {
"params": "<params>"
},
"name": "vyos_load_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |