Delete a record
delete_recordRemove a specific health record by its ID to correct errors. Specify the table and record ID to permanently delete the entry.
Instructions
Delete one record by id (for corrections). DESTRUCTIVE.
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": {
"table": "<table>",
"record_id": "<record_id>"
},
"name": "delete_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | which person owns the row; defaults to the primary user (guards against deleting another user's row by id). | |
| table | Yes | one of the health data tables with integer ids. | |
| record_id | Yes | the row id to delete. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||