Set a sun & moon alarm
set_sun_alarmSets a sun & moon alarm: it rings on the person's phone at a sun or moon moment at a place, or up to two hours before or after it: "an hour before sunrise in Yosemite", "golden hour in Lisbon every day", "moonrise on the next full moon", "sunrise on every June solstice", "the Perseid meteor shower", "when Mercury retrograde ends", "when the northern lights are out". The moment is computed for the place each day and rings for everyone at once, at the alarm's place, unless each_at_own_location is set: then each rider's phone rings at the moment where they are ("everyone up to their own sunrise"). Once on a date, on repeating days, or, with neither, at the next one. A day the event does not happen there (a polar day or night) is skipped. People added to a friends alarm are notified. Returns the alarm, when it next rings, its link and a share picture. event is the sun or moon moment by name (sunrise, sunset, goldenHour, moonrise and the rest); place is where; offset_minutes is minutes before (negative) or after it; only_on_day is a kind of day (fullMoon, newMoon, a solstice); each_at_own_location is true or false. 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": {
"event": "<event>"
},
"name": "set_sun_alarm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | A one-off's day at the place, "2026-11-02". Not used for a repeating alarm. | |
| 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. | |
| event | Yes | A moment of the day: sunrise; sunset; goldenHour (evening golden hour starts); goldenHourEnd (morning golden hour ends); solarNoon (the sun at its highest); dawn (civil twilight starts); dusk (civil twilight ends); nightEnd (first light); night (night starts); moonrise; moonset; moonTransit (the moon at its peak, when it is up). Or a sky event, which comes round on its own and needs no days: mercuryRetrograde, mercuryDirect (Mercury retrograde ends), and the same for venus, mars, jupiter and saturn (each rings 9am on the day it turns); quadrantids, lyrids, etaAquariids, perseids, orionids, leonids, geminids (meteor showers, 2am the morning after the peak night); supermoon (at moonrise); marchEquinox, juneSolstice, septemberEquinox, decemberSolstice (at the exact minute). For a sky event, repeat_days with all seven days means every time it comes round. Or aurora, the northern lights (the southern lights below the equator): forecast, not worked out, so it takes no date, days or offset. It rings each rider at their own place, after dark, at most once a night, when NOAA's Kp forecast says the lights reach them. A place too near the equator to ever see them is refused. | |
| place | No | Where the sky is watched, only when the person named one: a city, park, beach or address, "Yosemite". Coordinates as "37.75, -119.59" work too. Left out, the person's own place is used. | |
| 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 | Its short name: 2 to 6 fresh words that fit what they asked, never just the time. Left out, LFG names it. Up to 60 characters. | |
| 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). | |
| 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. | |
| 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). | |
| button_link | No | ||
| only_on_day | No | Only on this kind of day at the place: fullMoon, newMoon, supermoon, marchEquinox, juneSolstice, septemberEquinox, decemberSolstice. With repeat_days it rings on every one; without, on the next one. "Moonrise on the full moon" is event moonrise with on fullMoon. | |
| repeat_days | No | Days a repeating alarm rings, ["sat","sun"]; all seven for every day. Not used for a one-off. | |
| 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. | |
| offset_minutes | No | Minutes from the event: -60 is an hour before, 30 is half an hour after, 0 is at it. | |
| 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. | |
| send_beacons_to | No | A webhook of theirs (a Discord hook, a Zapier catch hook, their agent): every beacon is POSTed there as signed JSON. Public https only; an empty string stops it. | |
| 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. | |
| each_at_own_location | No | True rings each rider at the moment where they are, from their own location: "everyone wake up to their own sunrise", a sunrise club people ride from around the world. Only for a moment of the day (sunrise, golden hour, moonrise and the rest), never a sky event. The place is then where it rings for anyone who has not set a location. False (the default) rings everyone at once at the place. |