Last trade
last_tradeRetrieve the live trade price and size for any symbol from uncached market data. Provides instant snapshot for stocks, crypto, forex, and DEX venues.
Instructions
Latest trade snapshot (price and size) for a symbol on a venue, read straight from the live engine and never cached. For the best bid/ask instead use last_quote; for historical bars use stocks_bars / crypto_bars / forex_bars. 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_trade"
}
}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 |
|---|---|---|---|
| P | Yes | Last trade size. | |
| p | Yes | Last trade price. | |
| s | Yes | Symbol, normalized to the venue's canonical form. | |
| t | Yes | Timestamp, Unix epoch milliseconds. |