apps_file_commit
Deliver a completed app-workspace upload atomically to a relative workspace path, using SHA-256 to replace existing files safely without publishing or executing them.
Instructions
Atomically deliver a completed app-workspace upload to a relative workspace path. Omit expectedSha256 only for a new file; supply the existing file sha256 to replace it. Does not publish, save or execute the file.
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>",
"reference": "<reference>",
"path": "<path>"
},
"name": "apps_file_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| reference | Yes | ||
| 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. | |
| expectedSha256 | No |