Save Three.js project
push_projectSave a project snapshot to the Three.js editor only when the base revision is current, preventing stale edits from overwriting newer changes.
Instructions
Saves one editor snapshot when its base revision is current.
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": {
"projectId": "<projectId>",
"baseRevision": "<baseRevision>",
"project": "<project>"
},
"name": "push_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| projectId | Yes | ||
| baseRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| conflict | No | ||
| revision | No | ||
| projectId | Yes | ||
| currentRevision | No |