unfour.workspace.rename
unfour.workspace.renameRename a selected workspace with a concurrency guard: supply the expected current name to avoid overwriting a simultaneous rename without altering environment, policy, or active workspace.
Instructions
Renames the explicitly selected workspace through CommandBus. Supply expectedName from workspace.list to prevent overwriting a concurrent rename. Does not change environment, policy or active workspace.
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>",
"name": "<name>",
"expectedName": "<expectedName>"
},
"name": "unfour.workspace.rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| workspaceId | Yes | ||
| expectedName | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes |