log_sun_session
Sets a day's answer in the signed-in user's history calendar. Three values: confirmed=true (went out, the default), confirmed=false (had usable sun but stayed in), confirmed=null (clear the answer). Defaults to today. Requires OAuth (scope history:write).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Day to set, YYYY-MM-DD; defaults to today | |
| minutes | No | Minutes the user reports having spent in the sun (acknowledged, not stored) | |
| confirmed | No | true (default) the user went out; false they had sun but stayed in; null clears the answer |