Batfish Upload Snapshot
batfish_upload_snapshotUpload a base64-encoded Batfish snapshot ZIP, sanitize its name, optionally target a network, and avoid overwriting existing snapshots by choosing a unique name.
Instructions
Upload a Batfish snapshot zip, base64-encoded.
The name is sanitized with safe_snapshot_name (Batfish allows only
letters, digits, '-' and '_'). Unless overwrite is true, an
existing snapshot of that name is kept and a unique name is chosen
(base, base_1, ...). If network is given,
the session is pointed at it first. Returns the name actually used.
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": {
"name": "<name>",
"zip_base64": "<zip_base64>"
},
"name": "batfish_upload_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| network | No | ||
| overwrite | No | ||
| zip_base64 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||