list_accounts
List all trading accounts authorized for the configured OANDA API token, returning account IDs, tags, and MT4 account identifiers for account selection.
Instructions
List the accounts authorized for the configured API token.
Returns {"accounts": [...]} where each entry has id (the
account identifier every other tool operates on, e.g.
001-001-1234567-001), tags (list of strings), and
mt4AccountID when the account is MT4-bridged.
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": "list_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of accounts to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||