uvcs_switch_workspace_confirm
Confirms and executes a prepared workspace switch to a branch, changeset, or label after explicit user approval, ensuring no tracked pending changes remain.
Instructions
Switch the workspace to a branch, changeset, or label. Refused while tracked pending changes exist. Requires prepare/confirm. Confirms and executes a prepared operation. Call only after the user has reviewed the prepared payload and explicitly approved this exact operation.
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": {
"token": "<token>",
"confirmPhrase": "<confirmPhrase>"
},
"name": "uvcs_switch_workspace_confirm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Token returned by uvcs_switch_workspace_prepare. | |
| confirmPhrase | Yes | Must be exactly: confirm uvcs switch |