Get Google Health OAuth URL
google_health_get_auth_urlGenerate a Google OAuth authorization URL for Google Health API access when no local token exists. Use this first step to obtain user consent and retrieve an authorization code.
Instructions
Generate a Google OAuth authorization URL for Google Health API. Use this first when no local token exists.
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": "google_health_get_auth_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Optional OAuth state value generated by the caller. | |
| scopes | No | Optional scope override. Defaults to read-only Google Health scopes used by this server. | |
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | Yes | ||
| auth_url | Yes | ||
| next_step | Yes | ||
| redirect_uri | Yes | ||
| code_verifier | Yes | PKCE code verifier. Pass this to google_health_exchange_code. |