Get a wind-down routine for better sleep
get_sleep_routineReturn an evening wind-down routine for better sleep, built around Vayu's Bedtime calm practice, and show that practice in a timer: settling prompts, then breathing in for 4 and out for 8. The routine covers a steady wake time, caffeine and alcohol, the last hour before bed, what to do if awake for more than about 20 minutes, a morning check-in, and when to talk to a doctor. Use it when the user wants to sleep better, fall asleep more easily, get back to sleep after waking, or wind down for bed. General wellness guidance, not medical treatment or a diagnosis. Nothing is saved.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_sleep_routine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bedtime | No | The user's usual bedtime in 24-hour HH:MM, e.g. 22:30, if they gave one. Used only to put clock times on the routine. | |
| minutes | No | Length of the bedtime breathing in minutes. Defaults to 5. | |
| trouble | No | The main sleep trouble, if the user said. falling_asleep: takes a long time to fall asleep. racing_mind: can't switch off at night. waking_at_night: wakes up during the night. early_waking: wakes too early. general: wants better sleep overall. Defaults to general. | general |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | ||
| bedtime | Yes | ||
| trouble | Yes | ||
| practice | Yes | ||
| seeADoctor | Yes |