create_data_point
Write a new Google Health data point, such as weight, sleep, hydration, mood, symptoms, or menstrual period, when you have the matching write scope.
Instructions
Write a new data point, such as a weight, body fat, height, sleep, exercise, hydration or nutrition log, mood, symptom, menstrual period, or ovulation test. Needs the matching write scope.
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>",
"dataPoint": "<dataPoint>"
},
"name": "create_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. |