Skip to content
AI apps
AlloyAlloy
Open Alloy

AI app tool reference

Every tool Alloy offers a connected AI app, grouped by area, with what each one does.

Updated

An AI app sees only the tools its permissions allow. You don't call these yourself: the app picks them from what you ask.

Shared rules#

  • Dates are YYYY-MM-DD, in your own time zone. A week runs Monday to Sunday.
  • Each planned session has a slot id, such as 1-swim or 6, unique within its week. The week tools take it.
  • Every change accepts dry_run, and returns a change_id that undo_change takes.

The week#

ToolWhat it does
get_todayToday's date, your time zone and today's sessions
get_weekA week's planned sessions, after moves and skips, with their slot ids
get_session_workoutA session's full workout
get_week_recapA past week's recap
move_sessionMoves a session to another day of its week
swap_sessionsTrades two sessions' days
reset_movePuts a moved session back on its own day
skip_sessionsSkips one or more sessions, with a reason
unskip_sessionBrings a skipped session back

The log#

ToolWhat it does
list_logsLogged sessions in a date range
log_sessionLogs a session, planned or not
update_logChanges a logged session
delete_logDeletes a logged session

The program#

Your routine lives in eras: a weekly plan and the Monday it starts.

ToolWhat it does
list_erasEvery era and the Monday it starts
get_eraOne era's weekly plan
save_eraSaves a whole era
patch_eraEdits an era that hasn't started, as a JSON Patch
delete_eraDeletes an era
start_era_fromChanges the routine from a given Monday on

The season#

ToolWhat it does
list_eventsYour races, goals and other events
save_eventAdds or changes an event
delete_eventDeletes an event
save_event_typeAdds or changes an event type
delete_event_typeDeletes an event type
set_season_planSets the season's phases
get_ftpYour FTP
set_ftpSets your FTP

Fuel#

ToolWhat it does
get_fuelA day's meals and target
estimate_mealEstimates a meal from a description in words
log_mealLogs a meal
update_mealChanges a logged meal
delete_mealDeletes a logged meal

Health#

These need the health permissions.

ToolWhat it does
get_injectionsYour injections, the next site and when you're due
log_injectionLogs an injection
update_injectionChanges a logged injection
delete_injectionDeletes a logged injection
manage_injection_sitesAdds, renames, reorders or retires sites, and sets the cadence
list_body_recordsWeigh-ins, DEXA scans and lab results
save_body_recordsSaves records, or a Renpho, DEXA or lab CSV
delete_body_recordDeletes a body record
get_readinessReadiness check answers
set_readinessRecords a day's readiness check

Drive#

ToolWhat it does
list_clipsYour Drive clips
add_clip_from_linkSaves an Instagram post or reel, or a TikTok video, from its link
update_clipChanges a clip's category or note
delete_clipDeletes a clip

Strava#

ToolWhat it does
strava_statusWhether Strava is connected, and how sessions arrive
strava_syncChecks Strava now and logs what's new, as the live connection would
strava_connect_linkA link to connect Strava in Alloy

Changes#

ToolWhat it does
list_changesWhat connected apps changed in the last 30 days
undo_changePuts a change back, unless something has changed the same record since

Was this page helpful?