Option Greeks
option-greeksBlack-Scholes greeks for a European option: delta, gamma, vega (per 1% vol), theta (per day), rho (per 1% rate).
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": {
"spot": "<spot>",
"strike": "<strike>",
"years": "<years>",
"volatilityPct": "<volatilityPct>",
"riskFreePct": "<riskFreePct>"
},
"name": "option-greeks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spot | Yes | Current underlying price. | |
| type | No | Option type (default call). | |
| years | Yes | Time to expiry in years. | |
| strike | Yes | Strike price. | |
| riskFreePct | Yes | Risk-free rate in percent. | |
| volatilityPct | Yes | Annualized volatility in percent. | |
| dividendYieldPct | No | Continuous dividend yield in percent (default 0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rho | No | Rho per 1% rate. | |
| vega | No | Vega per 1% vol. | |
| delta | No | Delta. | |
| gamma | No | Gamma. | |
| theta | No | Theta per day. |