create_snapshot
Create a backup of a Compute Engine disk by generating a point-in-time snapshot. Specify the project, zone, disk, and snapshot name to protect your data.
Instructions
Create a snapshot of a Compute Engine disk.
Args:
project_id: The ID of the GCP project
zone: The zone where the disk is located (e.g., "us-central1-a")
disk_name: The name of the disk to snapshot
snapshot_name: The name for the new snapshot
description: Optional description for the snapshot
Returns:
Status message indicating whether the snapshot was created successfully
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": {
"project_id": "<project_id>",
"zone": "<zone>",
"disk_name": "<disk_name>",
"snapshot_name": "<snapshot_name>"
},
"name": "create_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | ||
| disk_name | Yes | ||
| project_id | Yes | ||
| description | No | ||
| snapshot_name | Yes |