get_connection_status
Check current connection and authentication status to ensure you are properly connected to the CTBC Securities trading API.
Instructions
Get current connection and authentication status.
Returns: Current connection status
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": "get_connection_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | Current logged-in user ID | |
| connected | No | Whether connected to trading server | |
| logged_in | No | Whether user is logged in | |
| initialized | No | Whether Init() has been called | |
| account_count | No | Number of available accounts | |
| trade_das_url | No | Trading DAS server URL |