get_quote
Fetch current stock price and daily change for a ticker, returning latest price, previous close, absolute and percent change, currency, or an error if invalid.
Instructions
Get the current price and day change for a stock ticker.
Args: ticker: Ticker symbol, e.g. 'AAPL', 'MSFT', or 'PETR4.SA' for B3-listed stocks.
Returns the latest price, previous close, absolute and percentage change, and currency. Returns an {"error": ...} payload if the ticker is invalid or the data provider is unreachable.
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": {
"ticker": "<ticker>"
},
"name": "get_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes |