propose_manual_run
Stage a manually-logged run the user describes in conversation (e.g. 'log my treadmill run: 8k in 42 minutes'). Validates plausibility (duration 1 minute–24 hours, pace within 2:00–20:00 min/km, started_at no older than a year — older runs are rejected), checks for an overlapping stored workout (never double-log), and returns the structured interpretation plus a confirmation_token. Echo the interpretation back in the user's units and get an explicit yes before committing. The distance is recorded as the user reported it — manual runs count toward volume, consistency and schedule tick-off, but never set personal bests and never feed Race Fitness.
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": {
"distance_m": "<distance_m>",
"duration_s": "<duration_s>"
},
"name": "propose_manual_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional note, max 500 chars | |
| indoor | No | Default true (treadmill is the common case) | |
| distance_m | Yes | Distance in metres (0.2–200 km plausible range) | |
| duration_s | Yes | Duration in seconds | |
| started_at | No | ISO datetime, or YYYY-MM-DD (anchored 12:00Z). Omitted = ended just now. Ask the user rather than guessing an ambiguous date. | |
| workout_type | No | just_a_run | easy | tempo | long | race | intervals | trail (default easy) |