Authorize (one time)
start_authorizationGenerates the Withings authorization URL to begin one-time setup, letting users grant read-only access to their body, activity, and sleep data.
Instructions
One-time setup step. Returns the Withings authorization URL for the user to open in a browser (read-only scopes: user.info, user.metrics, user.activity). If the callback URL is on localhost, this server listens there for 10 minutes and finishes the setup by itself; otherwise the user runs exchange_code (or the CLI) with the redirect URL within 30 seconds. Writes only the local token file.
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": "start_authorization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||