env_switch
Switches the active environment in a project workspace using its database ID so API requests and tests target the correct profile.
Instructions
Switch active environment within the project 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": {
"environmentId": "<environmentId>"
},
"name": "env_switch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environmentId | Yes | Database ID of the environment to switch to |