save_config
Save a Linksys LGS switch’s running configuration to startup configuration, with a dry-run default that previews masked changes and save status before committing.
Instructions
Copy running-config to startup-config (privileged exec 'save').
The LGS CLI cannot show the startup-config. dry_run=true (default): masked diff from the running-config stored at the last save through this server to the current running-config, plus the Config Save Status; nothing is saved. dry_run=false: stores the masked running-config that is saved (SWITCH_BACKUP_DIR, tag pre-save; required unless SWITCH_PRE_WRITE_SNAPSHOT=best-effort/off), saves, returns the diff to the previous save copy and the Config Save Status. The running-config copy uses the same background dump as config_read: a slow dump answers Pending first; the next call saves. Gate with hub unlock.
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": "save_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |