apps_publish
Publishes the exact draft revision after all files and build steps finish, preserving the prior applied revision if the target fails to load.
Instructions
After all files and build steps in a complete editing round finish, publish its exact draftRevision. A failed target load preserves the old applied revision.
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": {
"workspaceId": "<workspaceId>",
"expectedRevision": "<expectedRevision>"
},
"name": "apps_publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operationId | No | ||
| workspaceId | Yes | ||
| connectionRef | No | The host connection to act on, as returned by terminal_connect (for example vrch-110.vrch.ai). Required when several hosts are connected. | |
| expectedRevision | Yes |