Complete WHOOP login
whoop_complete_loginComplete WHOOP OAuth login by exchanging the authorization code from the redirect URL and verifying the state parameter.
Instructions
Finish a login using the code and state from the redirect URL.
Args:
code: The code query parameter from the redirect.
state: The state query parameter from the redirect. It is
verified against the pending login before the code is used.
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": {
"code": "<code>",
"state": "<state>"
},
"name": "whoop_complete_login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| state | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |