Delete Interaction
delete_interactionContacts: delete one entry from a contact's history (interaction_id from get_person_interactions or log_interaction), e.g. one logged by mistake or for the wrong person. The contact is unchanged. If it was their latest, their last interaction becomes the next latest entry (none if it was the only one) and the next check-in follows. Confirm with the user first. Returns change_id: undo_contact_change(change_id) adds it back. Requires API key or OAuth with context.write and context.delete. ($0.05; 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": {
"interaction_id": "<interaction_id>"
},
"name": "delete_interaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | No | Client idempotency key (retries return original result). | |
| interaction_id | Yes | The interaction id from get_person_interactions or log_interaction. | |
| idempotency_key | No | Alias for request_id. |
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. | |
| deleted | No | ||
| message | No | ||
| change_id | No | Pass to undo_contact_change to add it back. | |
| provenance | No | Which connector wrote the record and which connected Dayze account received it. | |
| interaction | No | The deleted history entry: interaction_id, person_id, person_name, kind, summary, occurred_at, source. | |
| last_interaction | No | The contact's last_interaction_at and next_check_in_at after the delete (changed: true when this moved them), or null. | |
| life_state_rebuilt | No |