Get a quote
get_quoteRetrieve the bid, ask, and spread for one instrument. Use it to check market pricing for any symbol.
Instructions
Return the latest bid, ask and spread in points for one instrument.
The time is UTC. On the replay source it is the last stored bar's open time rather than the current clock, so the answer is reproducible and is NOT a live market price. An unknown or unavailable symbol returns a tool error naming the symbol; call list_symbols if unsure.
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": {
"symbol": "<symbol>"
},
"name": "get_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Instrument name exactly as list_symbols spells it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ask | Yes | Best ask price. | |
| bid | Yes | Best bid price. | |
| time | Yes | Quote time in UTC. On the replay source this is the last stored bar's open time, never the wall clock. | |
| source | Yes | Data source that produced this quote. | |
| symbol | Yes | Symbol this quote belongs to. | |
| synthetic | Yes | True when the price is generated, not observed. | |
| spread_points | Yes | Ask minus bid, expressed in points. |