api_login
Authenticate API requests by logging in with environment variables. Automatically extracts the token and updates Authorization headers for subsequent calls.
Instructions
API login authentication tool that uses environment variables for login credentials. Automatically extracts token from response and updates Authorization headers. Example: Call with optional baseUrl parameter to override default base URL
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_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseUrl | No | Base URL for login request (optional, will override config baseUrl) |