health_update
Update an existing Fitbit/Google Health data point using its full resource name, with idempotency keys preventing duplicate writes. Preview changes by default via dry-run before committing to sync.
Instructions
依完整資源名稱更新可更新資料點。匿名飲食不可更新。record 填完整類型內容。
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>",
"name": "<name>",
"record": "<record>",
"idempotency_key": "<idempotency_key>"
},
"name": "health_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| record | Yes | ||
| dry_run | No | 預設只預覽。使用者要求實際寫入後設 false。 | |
| data_type | Yes | ||
| idempotency_key | Yes | 每筆來源紀錄的穩定唯一鍵;同一鍵不同資料會拒絕。 |