bw_env_switch
Switch the active BW environment profile to control which system subsequent tools target. Keeps other sessions intact and hides mutating tools on read-only profiles.
Instructions
Switch the active BW environment profile (e.g. test → prod). Subsequent tools use the new profile. Does not log in until the next tool that needs a client; existing sessions for other profiles are kept. When switching to/from a read-only profile, mutating tools are hidden/shown and a tools/list_changed notification is sent (host support varies; mutating calls are always rejected on read-only profiles).
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": {
"env": "<env>"
},
"name": "bw_env_switch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | Profile name from BW_PROFILES, e.g. "test" or "prod". Use bw_env_list to see options. |