Log cardio
log_cardioUse this when the person tells you about cardio they did: a run, a ride, the rower, a walk. Record cardio the person did, with the numbers they give: minutes always; distance, heart rate, level, incline, energy and intervals only when given. Never invent them. effort is a talk test: easy (could hold a conversation), steady (short sentences), hard (a few words). Give sessionId to count it in that session (it fills the session's planned cardio when it is the same exercise), or null for cardio on its own. Null startedAt is just finished. Cardio counts as minutes, never kilograms. Applied immediately with Undo. Do not use for a lifting set; use log_set.
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": {
"exerciseKey": "<exerciseKey>",
"minutes": "<minutes>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "log_cardio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kcal | No | Calories the machine or watch showed, only if they give it. | |
| level | No | The machine's resistance level, only if they give it. | |
| effort | No | The talk test: easy (could hold a conversation), steady (short sentences), hard (a few words). | |
| incline | No | Incline in percent, only if they give it. | |
| minutes | Yes | How long, in minutes. | |
| intervals | No | The intervals they did; null for steady cardio. | |
| sessionId | No | The session to count it in, from get_today; null for cardio on its own. | |
| startedAt | No | When it started, an ISO date-time; null is just finished. | |
| distanceKm | No | Distance in kilometres, only if they give it. | |
| exerciseKey | Yes | Which cardio: bike, treadmill, run, walk, rower, skierg, stairs, elliptical, swim. | |
| avgHeartRate | No | Average heart rate in beats a minute, only if they give it. | |
| maxHeartRate | No | Highest heart rate in beats a minute, only if they give it. | |
| idempotencyKey | Yes | A new random id for this change (a UUID). Send the same one again only to retry this exact change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |