login
Authenticate with the trading system using user ID and password to access account information and enable trading operations.
Instructions
Authenticate user with the trading system.
Args: user_id: User account ID password: User password
Returns: Login result with account information
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": {
"user_id": "<user_id>",
"password": "<password>"
},
"name": "login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| password | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | Whether login succeeded | |
| accounts | No | List of available accounts | |
| error_code | No | Error code | |
| error_message | No | Error message if failed |