Last quote
last_quoteRetrieve live best bid and ask prices with sizes for any symbol across stocks, crypto, forex, or DEX venues. Returns structured content with the current top-of-book quote.
Instructions
Top-of-book quote — best bid and ask with their sizes — for a symbol on a venue, read live from the engine and never cached. For the last traded price use last_trade instead. Returns structuredContent alongside the text.
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": {
"venue": "<venue>",
"symbol": "<symbol>"
},
"name": "last_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venue | Yes | Live-data venue: stocks, crypto, forex, dex. | |
| symbol | Yes | Symbol, e.g. BTCUSD, AAPL, EURUSD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| A | Yes | Ask size. | |
| B | Yes | Bid size. | |
| a | Yes | Ask price. | |
| b | Yes | Bid price. | |
| t | Yes | Timestamp, Unix epoch milliseconds. |