set_periods
Define named date ranges to compare Samsung Health trends across periods, with an empty end date meaning today and optional timezone offsets for accurate period data.
Instructions
Save the periods to compare, e.g. [{"name": "Before", "start": "2025-01-01", "end": "2025-06-30"},
{"name": "After", "start": "2025-07-01"}]. end empty means today. Optional tz_offsets (["+01:00"])
overrides automatic travel detection for that period. Pass [] to go back to the 90-day default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| periods | Yes |