log_exercise
Log structured exercise with a known calorie burn. For an ESTIMATED burn from plain text, use log_anything ('30 minute run').
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": {
"activity": "<activity>",
"duration_minutes": "<duration_minutes>",
"calories_burned": "<calories_burned>"
},
"name": "log_exercise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity | Yes | e.g. 'running' | |
| logged_at | No | Bare-local timestamp YYYY-MM-DDThh:mm:ss (no zone). Omit to use the user's 'now'. | |
| tz_offset_min | No | The user's JS getTimezoneOffset() — minutes BEHIND UTC (e.g. 240 for EDT). Optional: when omitted, the user's app-reported timezone is used (UTC only if the account has never reported one). | |
| calories_burned | Yes | ||
| duration_minutes | Yes |