List a project's earlier versions
list_snapshotsList the earlier versions of a project's script that parcad kept, newest first: one is kept automatically before save_project overwrites part.js, and one before set_script replaces the script on screen — including text the user typed and never saved. Each has an id, the path of a plain .js file, its size and its first line. Use restore_snapshot to put one back on screen; the 50 newest are kept per project.
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": {
"name": "<name>"
},
"name": "list_snapshots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A project path exactly as `list_projects` gives it: slash-separated folder names and no extension, such as `bracket` or `Mounts/bracket`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| snapshots | Yes |