Getting started
Turn it on
This module starts inactive. Ask your agent to activate it, or flip the switch on the Sleep Log card on the homepage. Activation calls create_database with moduleSlug: "sleep-log" and a name you choose, and unlocks the tools on this page. If it was active before and got switched off, the same call reactivates it instead of creating a duplicate.
Reference
Fields
What an entry in this module looks like.
| Field | Type | Notes |
|---|---|---|
| bedtime | string | ISO date-time, e.g. 2026-08-15T23:00:00 |
| wake_time | string | ISO date-time, e.g. 2026-08-16T07:00:00 |
| duration_hours | number | Required. |
| quality | poor | fair | good | great | |
| notes | string | |
| factors | caffeine_pm | alcohol | screen_before_bed | exercised | napped | stressed | late_meal | travel[] | Optional tags for things that may have affected this night's sleep. |
Reference
Tools
Sleep Log has 11 dedicated tools once active: add, list, update, and delete, plus a few built for how this module actually gets used.
sleep_log_attach_photosleep_log_add_entrysleep_log_list_entriessleep_log_update_entrysleep_log_delete_entrysleep_log_average_durationsleep_log_recent_quality_trendsleep_log_set_targetsleep_log_sleep_debtsleep_log_consistency_scoresleep_log_list_by_factor
Full tool reference, with parameters and return valuesTry it
Example prompts
Talk to your agent like this once Sleep Log is active. It picks the right tool and fields on its own.
Log last night's sleep, 7.5 hours, good quality, tagged caffeine_pm and stressed.
What's my average sleep this week?
Show my recent sleep trend.
Set my sleep target to 7.5 hours.
How much sleep debt have I built up this week?
How consistent has my bedtime been the last two weeks?