generate_pkce
Generate a PKCE code verifier and challenge pair for OAuth2 Authorization Code flow, then build the authorization URL.
Instructions
Generate a PKCE (Proof Key for Code Exchange) code verifier and challenge pair for OAuth2 Authorization Code flow. Also builds the authorization URL.
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": {
"authorization_endpoint": "<authorization_endpoint>",
"client_id": "<client_id>",
"redirect_uri": "<redirect_uri>"
},
"name": "generate_pkce"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | ||
| state | No | ||
| client_id | Yes | ||
| redirect_uri | Yes | ||
| authorization_endpoint | Yes | OAuth2 authorization endpoint URL |