use_terminal
Attach the API to an already logged-in MetaTrader 5 terminal by terminal ID for read-only account and research access without sending login credentials.
Instructions
Attach the API to a terminal that is already logged in.
This never sends a login or password. If the open account is not the one named in the registry, log in from the terminal window.
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": {
"terminal_id": "<terminal_id>"
},
"name": "use_terminal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terminal_id | Yes |