Plan Schengen trip
plan_schengen_tripRead-onlyIdempotent
Use this when the user asks how many days can I stay in Europe, wants a schengen visa calculator or needs to plan 90 days in 180 days. Finds the maximum consecutive short stay from an entry date and the first entry that supports a requested length. Past stays must be closed and end by entry; up to 60 stays over 1,100 days, years 1900–2100, requested lengths 1–90 days. Does not authorize entry or model bilateral agreements, residence permits, long-stay visas or visa-sticker limits; not legal advice.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry_date | Yes | Planned first day in Schengen. Example: 2026-07-01 or July 1, 2026. Past stays must end on or before this day. | |
| past_stays | Yes | Up to 60 short stays spanning at most 1,100 days. Example: [{"entry_date":"2026-03-05","exit_date":"2026-03-20"}]. Use [] for none. Exclude residence-permit and type D visa days. | |
| planned_length | No | Optional consecutive trip length, including entry and exit, from 1 to 90 days. Example: 30. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| note | Yes | ||
| notes | Yes | ||
| downloads | Yes | ||
| entry_date | Yes | ||
| max_legal_days | Yes | ||
| planned_length | Yes | ||
| last_legal_exit | Yes | ||
| days_used_before_trip | Yes | ||
| history_overstay_days | Yes | ||
| planned_length_possible | Yes | ||
| first_entry_for_full_length | Yes |