vyos_merge_config
Merge a configuration file or string into a VyOS running configuration, with optional commit-confirm to revert changes unless confirmed.
Instructions
Merge a configuration file or string into the running configuration.
Args: file: Path to a configuration file on the router. string: A configuration fragment in curly-brace format. confirm_time: If > 0, commit-confirm (reverts unless vyos_confirm_commit runs).
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_merge_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| string | No | ||
| confirm_time | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |