Set up a PermitSnag alert
create_alertSet up an opening alert in the person's own linked PermitSnag account, for ONE permit (give permit, startDate, endDate, partySize) or ONE campground (give campground, checkInStart, checkInEnd, nights, and optionally sitesNeeded). PermitSnag then sends the person an alert when a matching opening appears. Use the permit or campground id from search_permits or search_campgrounds. Starting areas, night-by-night plans and groups of trailheads are set up on the website instead. The same request sent twice sets up one alert. It never books, pays or enters a lottery. When the account needs a purchase for this alert, the answer may hold the alert and give payment links for the person to open and pay on a checkout page; the alert then turns on by itself once paid. Nothing is ever charged from this tool.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nights | No | Campground alert: nights in a row. | |
| permit | No | The permit id or slug. Give this or campground, not both. | |
| endDate | No | Permit alert: the last day the person could start, YYYY-MM-DD. | |
| partySize | No | Permit alert: number of people. | |
| startDate | No | Permit alert: the first day the person could start, YYYY-MM-DD. | |
| campground | No | The campground id. Give this or permit, not both. | |
| checkInEnd | No | Campground alert: the last acceptable check-in day, YYYY-MM-DD. | |
| sitesNeeded | No | Campground alert: sites needed together. Default 1. | |
| checkInStart | No | Campground alert: the first acceptable check-in day, YYYY-MM-DD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alert | No | ||
| holdId | No | awaiting_payment only: the held alert. It turns on by itself when one of paymentLinks is paid. | |
| reason | No | Why the request was refused, as a short code. | |
| status | Yes | ||
| pageUrl | No | The PermitSnag page for this place. | |
| paymentLinks | No | ||
| linksExpireAt | No | awaiting_payment only: when the payment links stop working. |