penpot_create_file_snapshot
Record the current state of a Penpot file as a named snapshot, similar to version control. Optionally assign a label; otherwise a timestamp label is generated.
Instructions
Create a named snapshot of the current state of a Penpot file (equivalent to "Save version" in the Penpot UI). The optional label names the version; if omitted Penpot generates a timestamp-based label. Returns the new snapshot's metadata including its id. Only user-created snapshots can later be renamed, deleted, or locked.
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": {
"fileId": "<fileId>"
},
"name": "penpot_create_file_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| fileId | Yes |