Booking link for a permit or campground
get_booking_linkRead-onlyIdempotent
Returns the link to the official booking page for one US backcountry permit or one campground. For some permits the link also carries the first date and the number of people you give, but the booking site may not use them, so the person checks or picks the dates and group size on that page. For a campground, the person picks or checks the dates on the booking page. For some places it returns the agency's own page or the PermitSnag page instead of a booking page. It only returns a link and a sentence about it; it does not book, pay or enter a lottery.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| permit | No | The permit id or slug. Give this or campground, not both. | |
| endDate | No | Optional last date, YYYY-MM-DD. Sent in the link for a few booking sites; the site may ignore it. | |
| partySize | No | Optional number of people. Sent in the link for some permit booking sites; the site may ignore it. | |
| startDate | No | Optional first date, YYYY-MM-DD. Sent in the link for some booking sites; the site may ignore it. | |
| campground | No | The campground id. Give this or permit, not both. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The page to open. | |
| found | No | Present, and false, only when nothing matched. | |
| subject | No | ||
| datePrefill | No | Whether the asked date reaches the booking page. | |
| destination | No | ||
| executesNothing | No | This tool only returns a link. | |
| providerHomeUrl | No | Permits only: the booking site's front page, when that is all we can name. |