log_sleep
Record a sleep session with local start and wake times, ensuring the wake time is after sleep and not in the future.
Instructions
补一条睡眠记录(需要 app 3.8+):两个端点都是本地时间、无时区, 形如 2026-11-04T23:00。wake_at 必须晚于 sleep_at 且不能是未来。
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": {
"sleep_at": "<sleep_at>",
"wake_at": "<wake_at>"
},
"name": "log_sleep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| wake_at | Yes | ||
| sleep_at | Yes |