set_history_location
Records where the signed-in user was over a range of past days, so their history stops assuming. Use it when the user corrects a stretch — get_my_history marks inherited days with locationAssumed, and the history calendar offers those stretches for correction. Pass a cityId from search_city, or lat/lon. Changes only the location: whether they went outside that day is untouched. Requires OAuth (scope history:write).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Last day of the stretch, YYYY-MM-DD; same as `from` for one day | |
| lat | No | Latitude, for a place not in the database | |
| lon | No | Longitude, paired with lat | |
| from | Yes | First day of the stretch, YYYY-MM-DD | |
| cityId | No | City id from search_city, e.g. 'builtin:londres' |