whoop-exchange-code-for-token
Exchange an authorization code from OAuth callback to get an access token for authenticating API requests.
Instructions
Exchange authorization code for access token
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>"
},
"name": "whoop-exchange-code-for-token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Authorization code from OAuth callback |