health_log_workout
Record a workout session with exercise type, start and end times, and optional notes for sets, reps, and weight. Preview before writing to your Fitbit/Google Health account using idempotent sync.
Instructions
寫入運動或重訓場次。逐組重量、次數和動作可保存在 notes;需要實際開始與結束時間。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| dry_run | No | 預設只預覽。使用者要求實際寫入後設 false。 | |
| end_time | Yes | 附時區的 RFC3339 時間,例如 2026-10-04T18:00:00+08:00;不可猜測缺少的時間。 | |
| start_time | Yes | 附時區的 RFC3339 時間,例如 2026-10-04T18:00:00+08:00;不可猜測缺少的時間。 | |
| distance_km | No | ||
| display_name | No | ||
| calories_kcal | No | ||
| exercise_type | Yes | ||
| active_minutes | No | ||
| idempotency_key | Yes | 每筆來源紀錄的穩定唯一鍵;同一鍵不同資料會拒絕。 |