Get options
get_optionsRetrieve call and put option chains for a stock, including contracts near the current price, all expirations, pricing, volume, open interest, implied volatility, and in-the-money status.
Instructions
Calls and puts around the current price for one expiration, plus every expiry.
Each contract has last price, bid/ask, change %, volume, open interest, implied volatility and whether it is in the money.
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": "get_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expiry | No | Expiration date (YYYY-MM-DD); default the nearest. | |
| symbol | Yes | One Yahoo Finance symbol, e.g. AAPL. | |
| response_format | No | 'concise' (default; up to 20,000 characters) or 'detailed' (up to 80,000). | concise |
| strikes_each_side | No | Strikes to show below and above the price. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| puts | Yes | Strikes around the price, ascending. | |
| as_of | Yes | When this data was fetched from Yahoo Finance, in UTC. | |
| calls | Yes | Strikes around the price, ascending. | |
| expiry | Yes | Expiration date of the chain shown (YYYY-MM-DD). | |
| source | No | Data source and the yfinance version. | |
| symbol | Yes | ||
| warnings | No | Caveats such as delayed quotes, symbols that failed, or trimmed results. | |
| truncated | No | True when rows were left out to keep the response small. | |
| expirations | Yes | Every listed expiration, nearest first. | |
| next_offset | No | Pass as `offset` to fetch the next rows, when the result is truncated. | |
| underlying_price | No |