studio_project_versions
Save, list, and preview named project versions, then restore a chosen version with revision and preview checks to create an undoable transaction.
Instructions
命名保存、列出和预览工程版本;恢复需当前baseRevision、预览返回的previewHash及唯一idempotencyKey,产生可撤销新事务。保存包含设计决定、页面、组件、tokens、数据和资源引用。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "studio_project_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| name | No | ||
| port | No | ||
| action | No | ||
| versionId | No | ||
| projectDir | No | ||
| previewHash | No | ||
| baseRevision | No | ||
| idempotencyKey | No |