coach_get_runs
COACH TOOL — a consented athlete's runs, newest first: the SAME payload and filters as get_runs (type, distance band in metres, category, name, n 1-50), over EVERY run the athlete has — scheduled and unscheduled alike (the grant covers the corpus). Same data conventions as get_runs: null is never zero, 'limited' gets at most a passing mention, report figures directly in the athlete's units. Runs carry distance_provenance ('recorded' | 'corrected' | 'manual') with the same semantics as get_runs — corrected/manual runs never set personal bests and never feed Race Fitness; on a manual run every metric reads not_recorded and recording_profile is not meaningful.
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": {
"athlete_id": "<athlete_id>"
},
"name": "coach_get_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | How many runs (1-50, default 10) | |
| name | No | ||
| type | No | Optional workout_type: just_a_run | easy | tempo | long | race | intervals | trail | |
| category | No | ||
| athlete_id | Yes | From coach_list_athletes | |
| max_distance_m | No | ||
| min_distance_m | No |