health_get_profile
Retrieve the account's profile, settings, and irregular-rhythm enrolment from the local cache, or re-fetch them from the Google Health API when live is true.
Instructions
Get the account's profile, settings and irregular-rhythm enrolment.
Each is the record Google returns, kept whole: the profile carries age, membership start and stride lengths, the settings carry units, time zone and locale, and the enrolment says whether irregular-rhythm notifications are on. Returns data from the local cache by default.
Args: live: If true, re-fetch the records from the API before reading the cache.
Returns profile, settings and irn_profile, and when each was fetched
(UTC). A record is null when it has never been fetched, which includes one
whose permission the grant lacks.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "health_get_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No |