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).
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": {
"from": "<from>",
"to": "<to>"
},
"name": "set_history_location"
}
}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' |