health_create
Create supported health data records in a user's Fitbit/Google Health account with dry-run previews, idempotency keys, and schema checks.
Instructions
新增任何官方支援寫入的健康資料類型。先用 health_schema 檢查欄位;record 只填該類型內容,不含外層 DataPoint。
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": {
"data_type": "<data_type>",
"record": "<record>",
"idempotency_key": "<idempotency_key>"
},
"name": "health_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes | ||
| dry_run | No | 預設只預覽。使用者要求實際寫入後設 false。 | |
| data_type | Yes | ||
| idempotency_key | Yes | 每筆來源紀錄的穩定唯一鍵;同一鍵不同資料會拒絕。 |