Get WHOOP OAuth URL
whoop_get_auth_urlGenerates a WHOOP OAuth authorization URL for initial authentication when no local token exists. Use before requesting read-only health, sleep, recovery, or performance data.
Instructions
Generate a WHOOP OAuth authorization URL. This does not read or modify WHOOP data. 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": "whoop_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 all read-only WHOOP 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 |