calculate_capital_gains_tax
US capital gains tax on stock/crypto. Short vs long-term, NIIT 3.8%, state tax. Uses latest CDN LTCG brackets.
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": {
"purchasePrice": "<purchasePrice>",
"salePrice": "<salePrice>",
"holdingPeriodDays": "<holdingPeriodDays>"
},
"name": "calculate_capital_gains_tax"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | US state abbreviation (e.g. CA, NY, TX) | |
| salePrice | Yes | Sale price | |
| filingStatus | No | Tax filing status | single |
| purchasePrice | Yes | Cost basis | |
| ordinaryIncome | No | Annual ordinary income | |
| holdingPeriodDays | Yes | Days held (>365=long-term) |