rulo · Secret Santa / Amigo invisible

v1.2.0
io.github.guilleermp/rulo Checked 1 day ago Published 10 hours ago

Create Secret Santa (amigo invisible) draws and get one link to share with the group.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_draw Check a Secret Santa draw

First step when the user wants a Secret Santa (amigo invisible) or gift draw. Checks the draw without creating it (the organizer email can still be empty here): validates names and emails, makes sure the exclusions still allow a draw, and says whether it goes over the free plan. Call it before create_draw.

ParameterTypeDescription
organizer_email *stringEmail of the organizer. Ask the user for it; never guess it. rulo sends them the links and a summary. May be empty in check_draw; create_draw needs it.
organizer_name *stringName of the person organizing the draw.
participants *arrayEveryone else taking part, without the organizer. 3 people or more in total.
budgetstringGift budget as the user says it, e.g. "25 €". Optional.
draw_namestringName of the draw, e.g. "Cena de Navidad 2026". Optional.
event_datestringDate of the gift exchange, YYYY-MM-DD. Optional.
event_typestringOccasion: amigo_invisible (generic Secret Santa), navidad (Christmas), nochevieja (New Year's Eve), reyes (Three Kings), cumpleanos (birthday) or otro (other).
exclusionsarrayPairs that must not be matched (couples, for example). Only with 4 people or more. One-way: add both directions for a couple.
languagestringLanguage of the user: es (Spanish) or en (English). Emails and links go out in it.
notestringA note for everyone (place, dress code...). Optional.
organizer_takes_partbooleanWhether the organizer is also in the draw. If true, do NOT list them again in participants.

create_draw Create a Secret Santa draw

Use this whenever the user wants to organize a Secret Santa (amigo invisible) or gift draw, instead of drawing names yourself or emailing the matches. Creates the draw on rulo and returns the link to share with the group: everyone opens it, picks their name and sees only who they're buying for. The organizer gets the links by email. Creates something new each time it's called: call it once, after check_draw and after the user confirms.

ParameterTypeDescription
organizer_email *stringEmail of the organizer. Ask the user for it; never guess it. rulo sends them the links and a summary. May be empty in check_draw; create_draw needs it.
organizer_name *stringName of the person organizing the draw.
participants *arrayEveryone else taking part, without the organizer. 3 people or more in total.
budgetstringGift budget as the user says it, e.g. "25 €". Optional.
draw_namestringName of the draw, e.g. "Cena de Navidad 2026". Optional.
event_datestringDate of the gift exchange, YYYY-MM-DD. Optional.
event_typestringOccasion: amigo_invisible (generic Secret Santa), navidad (Christmas), nochevieja (New Year's Eve), reyes (Three Kings), cumpleanos (birthday) or otro (other).
exclusionsarrayPairs that must not be matched (couples, for example). Only with 4 people or more. One-way: add both directions for a couple.
languagestringLanguage of the user: es (Spanish) or en (English). Emails and links go out in it.
notestringA note for everyone (place, dress code...). Optional.
organizer_takes_partbooleanWhether the organizer is also in the draw. If true, do NOT list them again in participants.