delete_lab_result
Permanently remove logged lab results. Delete a single marker using its ID, or remove an entire blood draw by date; narrow with panel or marker when needed.
Instructions
Permanently delete one or more lab results. Use when the user explicitly asks to remove or delete a logged lab result. Never guess a selector.
SELECTOR, pass exactly one of id, date, or date+marker:
id: deletes a single marker's row.
date (optionally narrowed by panel_name): deletes every result from that draw at once. This is irreversible and can remove many rows in one call. Confirm with the user before a date-scoped delete, especially one not narrowed by panel_name or marker.
date + marker (a marker-name substring, case-insensitive, optionally narrowed by panel_name): resolves to and deletes one marker's row, same as id. Errors with candidate IDs if more than one marker on that date matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Lab result ID. Deletes a single marker row. Alternative to date. | |
| date | No | Collection date of the draw to delete. Format: YYYY-MM-DD. Deletes every result from that draw, or (with marker) one row. Alternative to id. | |
| marker | No | Optional with date: marker-name substring, case-insensitive (e.g. "LDL"), narrowing the date selector to delete a single marker row instead of the whole draw. Ignored when id is given. | |
| panel_name | No | Optional, narrows a date (or date+marker) selector to one panel within that draw (e.g. "Lipid Panel"). Ignored when id is given. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Human-readable result text returned by the tool. |