Apuntar ejercicio
log_exerciseApunta una actividad física (p. ej. «he corrido 8 km en 45 minutos»). Si ya terminó, con duration_min; si solo dice que acaba de terminar, sin time, y el inicio se calcula como ahora menos la duración. Sin duración queda en curso (se termina luego con finish_exercise). Una actividad terminada necesita duration_min. La distancia u otros detalles van en details.
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": {
"kind": "<kind>"
},
"name": "log_exercise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Type of activity; use 'other' with `name` if none fits. | |
| name | No | Name of the activity when kind is 'other' (e.g. 'climbing'). | |
| time | No | When it STARTED. When it happened, in the user's local time: 'HH:MM' (today), 'YYYY-MM-DDTHH:MM', or ISO 8601 with offset. Omit it for right now. Never in the future. | |
| details | No | Free details such as distance ('8 km'). | |
| intensity | No | ||
| duration_min | No | Duration in minutes, if finished. |