get_price
Retrieve current bid and ask prices for specified forex instruments, such as USD_JPY or EUR_USD, using a comma-separated list.
Instructions
Get current bid/ask prices for one or more instruments.
Args: instruments: Comma-separated OANDA instrument names, e.g. "USD_JPY" or "USD_JPY,EUR_USD,GBP_JPY".
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": {
"instruments": "<instruments>"
},
"name": "get_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instruments | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |