Physical presence test (330 days)
physical_presence_windowFinds the 12-month window with the most full days abroad for a tax year, says whether it reaches 330, and prorates the foreign earned income exclusion. Dates are YYYY-MM-DD. Planning aid, 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": {
"moved_abroad": "<moved_abroad>",
"tax_year": "<tax_year>"
},
"name": "physical_presence_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trips | No | ||
| tax_year | Yes | ||
| moved_back | No | ||
| moved_abroad | Yes |