Calculate FEIE physical-presence days
calculate_feie_daysApply the US Foreign Earned Income Exclusion physical-presence day-count method to travel entries, including the best rolling 12-month window. This is the tax-specific calculation, not the general by-country travel summary in count_travel_days. Each entry is arrival|departure|type, where type is us, other or transit; transit under 24 hours counts zero.
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": {
"entries": "<entries>"
},
"name": "calculate_feie_days"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | Trips as YYYY-MM-DD|YYYY-MM-DD|us, |other or |transit. |