get_option_expirations
Retrieve available option expiration dates for a symbol, supporting equity and index options.
Instructions
Get available option expiration dates for a symbol.
Args: symbol: Underlying ticker symbol (e.g. "AAPL"). instrument_type: EQUITY or UNDERLYING_SECURITY_FOR_INDEX_OPTION. account_id: Account ID. Optional if PUBLIC_COM_ACCOUNT_ID is set.
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_option_expirations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| account_id | No | ||
| instrument_type | No | EQUITY |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |