platform_workspaces
List, switch, or show the active workspace (tenant) to manage environments and ensure subsequent API calls use the correct context.
Instructions
[Arch Build] Arch creates and changes projects, agents, tools, configuration, versions, and deployments. Manage workspaces (tenants). Actions: list (all workspaces the user belongs to, with active flag), switch (atomically authorize and switch the authenticated socket, credentials, and subsequent calls), current (show active workspace decoded from JWT). Responses include activeTarget and contextVersion; surface the active environment/workspace to the user after a switch.
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": {
"action": "<action>"
},
"name": "platform_workspaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| tenantId | No | Tenant ID to switch to (required for switch) |