workspace_switch
ActiveTool of io.github.saloprj/dialogbrain
Re-point the active MCP API key to a different workspace. Pass exactly one of `workspace_id` or `slug` (find them via `workspace.list`). Takes effect on the very next tool call — no MCP reconnect, no new API key. Sequential checkpoint: do not parallelize tool calls across a switch — calls already in flight when the switch commits will run against the previous workspace.
Parameters schema
{
"type": "object",
"required": [],
"properties": {
"slug": {
"type": "string",
"description": "Workspace slug to switch to. Resolved within the caller's memberships, so cross-tenant slug collisions are not possible. Mutually exclusive with `workspace_id`."
},
"workspace_id": {
"type": "integer",
"description": "Numeric workspace id to switch to. Mutually exclusive with `slug`."
}
}
}Parent server
io.github.saloprj/dialogbrain
https://github.com/saloprj/dialogbrain-mcp
1/7 registries