Which permit fits
which_permitWhich Swiss permit fits a person (the Swiss Living Index permit route finder as a tool): from nationality and plan (visit, work, commute from abroad, join family, study, retire, live without working, or already living here on a B permit) returns the permit (L, B, C, G or none), whether it is an entitlement or at the canton's discretion, the 2026 quota for non-EU work, every rule with its law article (AIG, VZAE, BüG) or SEM page, and for people already here the years until a C permit and naturalisation. Same logic as the page, checked by 45 test cases. Asylum statuses are out of scope. Information, not legal advice: the cantonal migration office decides.
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": {
"nationality": "<nationality>",
"plan": "<plan>"
},
"name": "which_permit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | No | Age in years, used for plan retire (e.g. 62). | |
| plan | Yes | What the person wants to do in Switzerland: visit, work, commute (live abroad, work here), family (join family), study, retire, nonactive (live without working) or here (already living here). | |
| qualified | No | work, non-EU: manager, specialist or other qualified worker (default true) | |
| job_length | No | work: under 3 months, 3 to 12 months, a year or longer / open-ended (default ge12) | |
| nationality | Yes | ISO 3166 alpha-2 code (e.g. DE, PL, GB, US, IN) or a group: eu5, eu, uk, other | |
| years_on_b_permit | No | here: years on a B permit without interruption | |
| ties_to_switzerland | No | retire: earlier long stays or close relatives in Switzerland | |
| family_member_is_eu_efta | No | family: that person is an EU/EFTA national (free movement rules, not covered) | |
| family_member_in_switzerland | No | family: status of the person in Switzerland |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attribution | No |