Merge Moments
merge_momentsPreview first, 30-day undo. Preview with preview_destructive_change({tool:"merge_moments",arguments:{canonical_id,retired_ids}}). Conflicting story, date, place or event links stop the merge. Union people, tags and media. Reviewed and reversible: first call preview_destructive_change({ tool: "merge_moments", arguments: { canonical_id, retired_ids } }), which stores the exact change without applying it. After the user confirms, call merge_moments with preview_id, restore_window_acknowledged: true and request_id; the reviewed preview is applied exactly and a changed record is refused. Returns restore_id; restore_change({ restore_id }) undoes it for 30 days unless the record was edited since. ($0.10; API key required)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preview_id | Yes | preview_id returned by preview_destructive_change for this tool. | |
| request_id | Yes | Required idempotency key; retries return the original receipt. | |
| retired_ids | Yes | ||
| canonical_id | Yes | ||
| idempotency_key | No | Alias for request_id. | |
| restore_window_acknowledged | Yes | Must be true after reviewing the preview and its 30-day restore window. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | The Dayze account this data belongs to. With more than one Dayze connection, name it in the answer. | |
| retired | No | ||
| canonical | No | ||
| conflicts | No | ||
| preview_id | No | ||
| provenance | No | Which connector wrote the record and which connected Dayze account received it. | |
| restore_id | No | Pass to restore_change to undo within restore_window_days. | |
| reversible | No | ||
| retired_ids | No | ||
| canonical_id | No | ||
| idempotent_replay | No | ||
| restore_expires_at | No | ||
| restore_window_days | No |