Update Place Visit
update_place_visitCorrect one stored place visit (visit_id from get_place_visits or log_place_visit): arrived_at, departed_at (null when unknown), arrival_time_precision, or place_id (another of your places, places.id). Fields left out stay. Times read as log_place_visit reads them: YYYY-MM-DD is the day with no clock time; a clock time without an offset is in the account timezone. duration_minutes is recomputed. An edit that would leave two open visits at one place is refused (CONFLICT). Never creates a visit or a place. ($0.10; API key required)
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": {
"visit_id": "<visit_id>"
},
"name": "update_place_visit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| place_id | No | Move the visit to another of your places (place_id from get_place_visits or get_places). | |
| visit_id | Yes | UUID of a place_visits row: visit_id from get_place_visits or log_place_visit. | |
| arrived_at | No | ISO 8601 (with offset, or wall time in the account timezone), or YYYY-MM-DD when only the day is known. | |
| request_id | No | Client idempotency key (retries return original result). | |
| departed_at | No | ISO 8601 or YYYY-MM-DD; null when the departure is unknown. | |
| idempotency_key | No | Alias for request_id. | |
| arrival_time_precision | No | approximate when the clock time reads a part of day (evening → 19:00). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visit | No | The place visit after the change (visit_id, place_id, name, arrived_at, departed_at, duration_minutes, visit_date, arrival_time_specified, arrival_time_approximate). | |
| account | No | The Dayze account this data belongs to. With more than one Dayze connection, name it in the answer. | |
| changed | No | Each changed field: { from, to }. | |
| message | No | ||
| updated | No | ||
| timezone | No | The account timezone visit_date is in. | |
| provenance | No | Which connector wrote the record and which connected Dayze account received it. | |
| arrival_time_note | No |