api_set_env
Set base URL and default headers for subsequent API requests. Use once at session start to configure endpoints, with optional merge or replace.
Instructions
Set base URL and/or default headers used by all subsequent api_request / api_assert / api_test_suite calls. Merges with existing env unless replace=true. Typical use: set baseUrl once at the start of a session, e.g. {baseUrl: "https://localhost:5001"}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "api_set_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseUrl | No | ||
| replace | No | ||
| defaultHeaders | No |