check us residency
check_us_residencyUS substantial presence test: resident if at least 31 days this year and at least 183 weighted days (all days this year + 1/3 of last year + 1/6 of the year before), after removing exempt-individual days. Closer connection exception and treaties are not checked. US (IRS), as of 2026-11-22. General information only: not tax advice; tax treaties can override the result. Verdict is resident, nonresident or depends.
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": {
"current": "<current>"
},
"name": "check_us_residency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prior1 | No | Days in the US last year | |
| prior2 | No | Days in the US the year before | |
| current | Yes | Days in the US this year | |
| exemptDays | No | Days this year as an exempt individual etc. (not counted) |