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: the user wants a run entry removed. ASK for confirmation if the intent is ambiguous.
SELECTOR: exactly one; id if known, else date (+ optional distance_mi to narrow, matched within 0.25 mi). More than one run matching -> error with candidate IDs to retry with.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "delete_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Run UUID. | |
| date | No | Date the run was logged on, YYYY-MM-DD. | |
| distance_mi | No | Narrows date to a run within 0.25 mi of this value when several runs share that date. Ignored with id. mi, or km via input_distance_unit. | |
| input_distance_unit | No | km when the user gave km for this object's _mi fields; omit for mi. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Human-readable result text returned by the tool. |