compute_refund_position
Compute a federal refund position: are you owed a refund, or do you owe? Deterministic Form 1040 arithmetic for tax years 2024 and 2025: income tax (Tax Table under $100,000, capital-gain worksheet stacking for qualified dividends and long-term gains), self-employment tax (Schedule SE, 92.35% base, year wage base, Additional Medicare Tax), section 199A QBI deduction with threshold phase-ins and the W-2 wage/UBIA limit, child tax credit and additional child tax credit, education credits, earned income credit, and a payments comparison. Inputs: tax_year, filing_status (single, mfj, hoh, mfs), schedule_c_net_profit or schedule_c {gross_receipts, deductible_expenses}, other_income {w2_wages, taxable_interest, ordinary_dividends, qualified_dividends, short_term_gain, long_term_gain}, adjustments, deductions, qbi, credits, payments. Optional filed_return {agi, taxable_income, total_tax, total_payments, refund_received} returns a line-by-line variance report naming the likely line causing any difference and any additional refund owed. Every intermediate line carries its form reference. Federal only; AMT, NIIT, state tax, and penalties are flagged as not computed, never silently zero. General information only, not tax advice.
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": {
"tax_year": "<tax_year>",
"filing_status": "<filing_status>"
},
"name": "compute_refund_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qbi | No | ||
| credits | No | ||
| payments | No | ||
| tax_year | Yes | ||
| deductions | No | ||
| schedule_c | No | ||
| adjustments | No | ||
| other_taxes | No | ||
| filed_return | No | ||
| other_income | No | ||
| filing_status | Yes | ||
| schedule_c_net_profit | No |