Delete an activity
delete_activityDelete an activity that was logged by hand, by you, or imported from a file: a double entry (the watch synced the same run too), a test, or one that never happened. Give its id (get_activities shows each activity's source). Activities that came from the watch are not deleted here: the user removes those in the Heza app. A planned workout it had ticked off stays done when another activity of the same kind is logged that day, and goes back to 'planned' otherwise. Confirm with the user first.
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": {
"activity_id": "<activity_id>"
},
"name": "delete_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes | Heza activity id (UUID) from get_activities |