Rustyplan

v0.1.0
io.github.SverrirValgeirsson/rustyplan Checked 4 days ago Published 14 days ago

Self-hosted group event scheduling with availability polling and voting.

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

create_event

Create a new scheduling event

ParameterTypeDescription
duration_minutes *integerDuration in minutes
name *stringEvent name
descriptionstringOptional event description
participantsarrayParticipant names
participants_can_add_participantsbooleanWhether participants may add other participants (default false)
participants_can_add_timeslotsbooleanWhether participants may add time slots (default false)
proposed_startstringProposed start time (ISO 8601)

get_event

Get an event's details, participants and time options with per-option vote tallies and who voted. Identify the event with the token from the personal link (the last part of /e/{token}): an organizer owner_token or a participant share_token. Also returns your_response per option.

ParameterTypeDescription
event_idstringOptional event ID; if given it must match the token's event. Not needed: the token identifies the event.
owner_tokenstringOrganizer owner token (alternative to token)
share_tokenstringParticipant share token (alternative to token)
tokenstringThe token from a personal link (the last part of /e/{token}). May be either an organizer owner_token or a participant share_token; the server works out which.

list_events

Look up the event a token belongs to. Pass the token from a personal link (/e/{token}); returns the event id and name.

ParameterTypeDescription
event_idstringOptional event ID; if given it must match the token's event. Not needed: the token identifies the event.
owner_tokenstringOrganizer owner token (alternative to token)
share_tokenstringParticipant share token (alternative to token)
tokenstringThe token from a personal link (the last part of /e/{token}). May be either an organizer owner_token or a participant share_token; the server works out which.

add_time_option

Propose a time option for an event. The organizer (owner_token) can always add options; participants (share_token) only if the event allows it.

ParameterTypeDescription
start_time *stringProposed start time (ISO 8601)
duration_minutesintegerDuration in minutes (optional, defaults to the event's duration)
event_idstringOptional event ID; if given it must match the token's event. Not needed: the token identifies the event.
owner_tokenstringOrganizer owner token (alternative to token)
share_tokenstringParticipant share token (alternative to token)
tokenstringThe token from a personal link (the last part of /e/{token}). May be either an organizer owner_token or a participant share_token; the server works out which.

vote_time_option

Vote yes/no/maybe on a proposed time. The token decides who is voting: an owner_token votes as the organizer, a share_token as that participant.

ParameterTypeDescription
response *stringResponse: 'yes', 'no', or 'maybe'
time_option_id *stringTime option ID to vote on (from get_event / get_summary)
owner_tokenstringOrganizer owner token (alternative to token)
share_tokenstringParticipant share token (alternative to token)
tokenstringThe token from a personal link (the last part of /e/{token}). May be either an organizer owner_token or a participant share_token; the server works out which.

get_summary

Get a compact availability summary for an event: each time option with yes/maybe/no counts, who voted, and your own response. Identify the event with an owner_token or share_token (the last part of /e/{token}).

ParameterTypeDescription
event_idstringOptional event ID; if given it must match the token's event. Not needed: the token identifies the event.
owner_tokenstringOrganizer owner token (alternative to token)
share_tokenstringParticipant share token (alternative to token)
tokenstringThe token from a personal link (the last part of /e/{token}). May be either an organizer owner_token or a participant share_token; the server works out which.

add_participant

Add a participant to an event. Returns the new participant's share_token (their personal link is /e/{share_token}). The organizer can always add participants; participants only if the event allows it.

ParameterTypeDescription
name *stringParticipant name
emailstringOptional participant email
event_idstringOptional event ID; if given it must match the token's event. Not needed: the token identifies the event.
owner_tokenstringOrganizer owner token (alternative to token)
share_tokenstringParticipant share token (alternative to token)
tokenstringThe token from a personal link (the last part of /e/{token}). May be either an organizer owner_token or a participant share_token; the server works out which.