delete_run
UNIT INPUTS: value: pass the user's number unconverted; tool converts once before storage. alternate_unit: set the field's matching input_* companion; canonical_unit: omit companion. precedence: overrides instructions to convert manually.
Delete a run. Use when the user wants to remove a run entry. ASK for confirmation if the user's intent is ambiguous.
SELECTOR — pass id if known, or date (+ optional distance_mi to narrow, matched approximately within 0.25 mi) to resolve it. Exactly one of id or date required. If it matches more than one run, the call errors with candidate IDs to retry with.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Run UUID. Alternative to date. | |
| date | No | Alternative to id: the date (YYYY-MM-DD) the run was logged on. Optionally narrow with distance_mi. | |
| distance_mi | No | Optional, narrows date to a run within 0.25 mi of this value when more than one run shares that date. Ignored when id is given. In mi, or km with input_distance_unit set. See UNIT INPUTS. | |
| input_distance_unit | No | Set to km when the user gave km for the _mi fields in this object. Omit when they are already mi. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Human-readable result text returned by the tool. |