Switch Organization
switch_organizationSwitch the CloudQuell organization you are working in (POST /api/organizations/{organization_id}/switch). Every other CloudQuell tool acts on the CURRENT organization only; this tool changes which one that is. Intended flow: list_organizations (find the organization_id; the current one is marked is_current) → switch_organization → then the other tools, which from the next call on run against the new organization. Returns the new organization's id, name, tier and your role in it (your_role), plus mcp_access: false when its plan will refuse the other tools. The change PERSISTS: it also switches the user's CloudQuell dashboard to that organization, and later conversations start there too. Switch back the same way. Tell the user which organization you switched to. Needs confirm:true. It changes only YOUR default organization (the same as the org switcher in the dashboard), so it does not need the admin:write scope, an admin role, or the organization's AI agent access switch, and works for any member. You can only switch to an organization you are an active member of. Not available on CloudQuell API keys (cak_), which are pinned to one organization. Example: { "organization_id": "3f2b9c1e-8a4d-4e6f-9b1a-2c3d4e5f6a7b", "confirm": true } switches to that organization.
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": {
"organization_id": "<organization_id>"
},
"name": "switch_organization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true to actually switch. Required: the tool refuses unless confirm:true is present, because the change persists and also moves the user's CloudQuell dashboard. | |
| organization_id | Yes | The id (UUID) of the organization to switch to. Get it from list_organizations; you can only switch to an organization you are an active member of. | |
| response_format | No | concise = the new organization's id, name, tier and your role (default); detailed = the full current-organization payload as well. | concise |