yfinance_get_option_dates
Retrieve available option expiration dates for a stock ticker. Returns a JSON array of dates in YYYY-MM-DD format, ready for use with option chain queries.
Instructions
Fetch available option expiration dates for a stock.
Returns JSON array of expiration dates in YYYY-MM-DD format.
Use these dates with the 'yfinance_get_option_chain' tool to fetch
the options chain for a specific date.
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": "yfinance_get_option_dates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Stock ticker symbol (e.g., 'AAPL', 'GOOGL', 'MSFT') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |