export_portable_snapshot
Export a deterministic, secret-free JSON snapshot to a confined local file, returning a SHA-256 checksum for verification.
Instructions
Export a deterministic secret-free JSON snapshot to a local confined file.
Mutating operation: writes a local file immediately, persisted in the export directory. Returns the filename, size, schema version, and a content SHA-256 checksum for later verification with verify_snapshot. The call is rejected without writing unless confirm=true. Use export_network_report for human-readable HTML/CSV instead of the raw JSON model.
Args: filename: Target file name written inside the confined export directory (no path traversal). confirm: Safety confirmation. Must be True to actually write; otherwise returns a rejection message.
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": {
"filename": "<filename>"
},
"name": "export_portable_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Safety confirmation. Must be True to actually write; otherwise returns a rejection message. | |
| filename | Yes | Target file name written inside the confined export directory (no path traversal). |