update_data_point
Replace a health data point previously written by this client, such as steps, sleep, or heart rate, by specifying its data type, resource ID, and updated payload.
Instructions
Replace a data point that this client wrote.
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": {
"dataType": "<dataType>",
"dataPointId": "<dataPointId>",
"dataPoint": "<dataPoint>"
},
"name": "update_data_point"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataType | Yes | Data type in kebab case, such as steps, sleep, or heart-rate. See list_data_types. | |
| dataPoint | Yes | DataPoint body. Put the payload under the camelCase data type field, such as {"weight": {...}}. Call describe_schema with the data type for its fields. | |
| apiVersion | No | API version. Defaults to v4, or v4beta for beta-only data types. | |
| dataPointId | Yes | A resource ID without slashes. |