Deploy changed build output
sandbox_deployDeploy added or changed files to a running Windows sandbox, remove extra files, verify SHA256 hashes, and optionally launch or restart the app after staging.
Instructions
Explicit warm-sandbox inner loop: transfer only added/changed files, delete removed files, verify all destination SHA256 hashes. Requires an already running sandbox. Rejects links/reparse points and build output that changes while staging. copy_in still does a full replace.
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": {
"hostPath": "<hostPath>"
},
"name": "sandbox_deploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| launch | No | Executable inside the destination, relative or absolute, to launch after verification. | |
| restart | No | Stop processes whose image path is under the destination before applying; requires launch. | |
| hostPath | Yes | Host build output directory (must be under SANDBOX_MCP_ALLOWED_ROOTS when set). | |
| sandboxPath | No | Exclusive deployment directory; extra guest files are removed. Default C:\apps\<name>. |