vyos_set
Applies one VyOS set command and commits immediately; supports optional commit-confirm auto-rollback and saving to config. Use for simple single-path changes, not multi-field validation.
Instructions
Apply a single set command and commit it immediately.
Args: path: Configuration path (list or space-separated string), e.g. "interfaces dummy dum1 address". value: Optional final value appended to the path, e.g. "10.11.0.1/32". confirm_time: If > 0, commit-confirm: the change reverts after this many minutes unless vyos_confirm_commit is called. Use as a remote safety net. save: Persist to /config/config.boot after a successful commit (default False).
NOTE: fields validated together must be set in one request — use vyos_configure_batch for those. A single set that leaves a rule/object incomplete will fail validation.
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": {
"path": "<path>"
},
"name": "vyos_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| save | No | ||
| value | No | ||
| confirm_time | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |