finance_home_sale_exclusion
Home sale exclusion (IRC 121) — Offline US home-sale gain exclusion calculator (IRC 121, Pub 523): gain, $250k/$500k limit, 2-of-5-year ownership and use tests, partial exclusion for work/health/unforeseen moves, depreciation (unrecaptured 1250) and nonqualified-use carve-outs, taxable gain and verdict FULLY_EXCLUDED/PARTIALLY_TAXABLE/NOT_ELIGIBLE/LOSS. Params: sale_price, basis (required); selling_costs, filing=single|mfj, owned_months, used_months (of last 60), spouse_used_months, last_exclusion_months_ago, reason=work|health|unforeseen, depreciation, nonqualified_months, total_owned_months. Price: $0.003 USDC (Base, via x402).
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": {
"sale_price": "<sale_price>",
"basis": "<basis>"
},
"name": "finance_home_sale_exclusion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| basis | Yes | 300000 | |
| sale_price | Yes | 900000 |