Create Snapshot
create_snapshotCreate a ZFS snapshot for a specified dataset, with an optional name and dry-run preview before committing changes.
Instructions
Create a ZFS snapshot.
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": {
"dataset": "<dataset>"
},
"name": "create_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional snapshot name (defaults to auto timestamp). | |
| dataset | Yes | Dataset to snapshot, e.g. "tank/data". | |
| dry_run | No | Preview only (default True); set False to create. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |