Calculate residency return date
calculate_residency_returnCalculate a conservative return-by date from the last day in country under the supported Panama and Paraguay residency-maintenance rules. The calculation uses the day before the calendar anniversary. It is limited to the listed residency types; it does not calculate presence for other countries or citizenship.
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": {
"residency": "<residency>",
"departure_date": "<departure_date>"
},
"name": "calculate_residency_return"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Optional date for the countdown, YYYY-MM-DD; defaults to today. | |
| residency | Yes | Supported residency rule. | |
| departure_date | Yes | Last day in the country, YYYY-MM-DD. |