Set a lottery alarm
set_lottery_alarmSets an alarm for a Recreation.gov lottery from find_lottery: it rings as the lottery opens, as a last call before it closes (three hours before, or half an hour for a one-day lottery), or when the results come out. Waking up opens the lottery's page to apply or see the results. A moment already past returns an error. Returns the alarm and its link. lottery_id is the lottery, from the search; moment is which of its moments rings: opens, last_call or results. shared_with is who can join (private, friends, public); ring_level is how it reaches the person (alarm, notify, quiet); ring_on_device is one of the person's devices by name, never a condition. vibe is the feel in a few words and picks the song and the wallpaper. look_words is the app's own words for the wallpaper; the other look and sound arguments are for when the person named one.
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": {
"lottery_id": "<lottery_id>",
"time_zone": "<time_zone>"
},
"name": "set_lottery_alarm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | A note from the person, in their words, shown on the link's page and in the Daily drop. Up to 500 characters; empty clears it. | |
| vibe | No | The feel in a few words, and a background or colour if they named one: "calm", "hype for a token launch", "ocean waves, purple". It picks the song and the look, so fill it even when they said none; leave it out only when the moment has no feel of its own (a plain wake-up, a price move). | |
| draft | No | true returns the card and plan this would make, and makes nothing; false makes it. | |
| sound | No | The library shelf closest to the sound they asked for: lo-fi is music/chill, "hype me up" is voices/hype_man. "own" for one of their uploads; "soundcloud" for an artist, a song by name or a genre with no shelf, with song_search. Leave it out when they said nothing about the sound. | |
| theme | No | A theme or holiday: it deals a song, a title and a wallpaper to match. | |
| title | No | Short name for the alarm. When absent, the place and the moment, "The Wave lottery opens". | |
| moment | No | When it rings: as it opens, a last call before it closes, or when results are out. | opens |
| look_id | No | From a draft: the look it showed, so arming keeps the same one. | |
| category | No | For a public link: its Discover category, the closest one. Left out, one is picked. | |
| sound_id | No | From a draft: the sound it showed, so arming keeps the same one. | |
| surprise | No | For a friends link: keep it a surprise. People who join see a curtain until it rings. | |
| link_mode | No | For a friends link: open (anyone with the link rides along, the default) or approve (anyone not invited asks first). | |
| time_zone | Yes | The person's IANA time zone, "America/Los_Angeles". | |
| add_groups | No | For a friends alarm: names of the person's friend groups whose members to let in, "Family". Members get a notification. | |
| add_people | No | For a friends link: up to 20 people to let in, as usernames of their LFG friends or as email addresses. Any other username is refused. | |
| gif_search | No | 2 to 5 plain words to search GIFs with, "sleepy cat monday", used if the look dealt is a GIF. Fill it whenever you make a link. | |
| look_words | No | 2 to 4 fresh words for the wallpaper, with personality: a pun, a wink or a hype call ("SOL TO THE MOON"), never the title or the topic said again. Fill it whenever you make a link. | |
| lottery_id | Yes | The lottery_id from find_lottery. | |
| request_id | No | A unique id for this one request. Sent again with the same id, the link already made comes back and no second one is made. | |
| ring_level | No | How it reaches them: alarm (a real ring, the default), notify (a notification and the Daily drop: "just let me know", "send it to my drop"), quiet (the Daily drop only, when they say silent or no notification). | |
| shared_with | No | Who can join: private (only the person), friends (people on its list, or with its link), public (anyone; listed in Discover). | private |
| song_search | No | With "soundcloud": what to look for there, in their words, "k-pop", "fred again". | |
| upload_name | No | With "own": the name they gave the upload, "my dog picture". Left out, one of theirs is used. | |
| words_color | No | Colour of the words as hex, any colour, "#D7FF00". | |
| hide_trigger | No | Needed with surprise, true or false: whether to also keep back when and why it rings. | |
| snooze_times | No | How many times it can be snoozed: 3, 10 or unlimited. | |
| silent_snooze | No | true to snooze without the spoken roast LFG plays by default. | |
| ring_on_device | No | Where it rings, only when they said where: one of their devices in their words ("my iPad") or "web". Left out, it rings where it was made, or on every phone and tablet of theirs. | |
| snooze_minutes | No | Minutes each snooze lasts: 5, 10, 15, 30 or 60. | |
| wallpaper_kind | No | Only when they named a kind: gradient, live, gif, photo, or "own" for one of their uploads. Left out, one is dealt. | |
| wallpaper_color | No | Wallpaper background colour as hex, any colour, "#5B2BFF". | |
| wallpaper_words | No | Words drawn on the wallpaper, "WAKE UP". Up to 40 characters; best as 1 to 4 short words. | |
| people_confirmed | No | Whether the person has confirmed the people and groups being added. Nobody is added or told without it. |