log_sleep
Record nightly sleep, including deep, light, and REM stages plus a score, in Cronometer to track trends and later edit or remove entries.
Instructions
Record a night's sleep, optionally with its stages and a sleep score.
Each value is stored as its own biometric (Sleep, and the Deep, Light, REM and Score metrics when the account has them), so they show in Cronometer's trends. Fix or remove one with edit_biometric or remove_biometric.
Args: hours: Total sleep in hours, e.g. 7.5. date: The diary day it belongs to, as YYYY-MM-DD (defaults to today). deep_hours: Deep sleep in hours. light_hours: Light sleep in hours. rem_hours: REM sleep in hours. score: Sleep score from 0 to 100.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hours": "<hours>"
},
"name": "log_sleep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| hours | Yes | ||
| score | No | ||
| rem_hours | No | ||
| deep_hours | No | ||
| light_hours | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |