backup_config
Save the full FortiOS running configuration to a local file and return its path and size, enabling backup and recovery without transferring large config text.
Instructions
Back up the full running configuration (FortiOS CLI text) to a local file and return its path and size. Allowed in read-only mode. Configs are hundreds of KB, so the text itself is not returned.
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": "backup_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) | |
| output_path | No | File to write (default ./fortigate-<hostname>-<timestamp>.conf) |