create_snapshot
Capture a devbox's current state as a disk snapshot and recreate it later using the returned snapshot ID.
Instructions
Create a disk snapshot of a devbox's current state.
Snapshots persist and accrue storage charges until explicitly deleted.
A new devbox can later be created from the snapshot via snapshot_id.
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": {
"devbox_id": "<devbox_id>"
},
"name": "create_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name for the snapshot. | |
| metadata | No | Optional key/value metadata for the snapshot. | |
| devbox_id | Yes | The id of the devbox to snapshot. | |
| commit_message | No | Optional commit-style message describing the snapshot. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||