uvcs_switch_workspace_prepare
Prepares switching the workspace to a branch, changeset, or label by returning a short-lived confirmation token; blocked while tracked pending changes exist.
Instructions
Switch the workspace to a branch, changeset, or label. Refused while tracked pending changes exist. Requires prepare/confirm. Returns a short-lived confirmation token.
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": {
"target": "<target>"
},
"name": "uvcs_switch_workspace_prepare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Target spec, for example /main/task, cs:92, or lb:LABEL. |