Latest close
last_priceThe latest daily close for each ticker, in its own currency and in the base currency, with the date. Typical questions: 'What's the last price of VWCE?'; 'Turn 120 shares of VTI into dollars.'; 'Latest close for these tickers.'. Instead: for history and figures of one asset, asset_info. One price per ticker, no history. It does not recommend, predict or calculate tax.
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": {
"tickers": "<tickers>"
},
"name": "last_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Currency code every figure is expressed in: USD, EUR, GBP, CAD… Default USD. | |
| tickers | Yes | Tickers, up to 50. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base currency. | |
| data | No | Where the prices came from and what was missing or repaired. | |
| as_of | No | Date of the close. | |
| prices | Yes | Per ticker: latest close in the base currency. | |
| currencies | No | Per ticker: its trading currency. | |
| native_prices | No | Per ticker: latest close in its own currency. |