login
Authenticate to a ForexTrackr firm with an API key, validate the key and URL, and save them locally under a firm name as the active firm.
Instructions
Sign in to a ForexTrackr firm with an API key (trk_..., an admin creates it in Admin Settings > User Management > API Keys). The key and URL are checked and saved on this computer under the firm name, which becomes the active firm.
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": {
"api_key": "<api_key>"
},
"name": "login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The ForexTrackr address, e.g. https://trackr.example.com (needed for a new firm) | |
| firm | No | Firm name to save it under (default: the active firm, or firm1) | |
| api_key | Yes | The API key, starting with trk_ |