remove_event
Delete an agent-logged health event from health-events-agent.json by id. App-recorded events, demo mode, and non-writable folders are refused.
Instructions
Remove an event that was logged with add_event (id starting "agent-", source "agent" in list_events) from health-events-agent.json. Events logged in the iOS app are refused: they are edited in the app. Removing an id that is already gone changes nothing and says so. Refused in demo mode and when the folder is not writable.
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": {
"id": "<id>"
},
"name": "remove_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The agent event id from list_events or add_event. |