Finish Crunch login
crunch_auth_completeCompletes a Crunch login by exchanging the authorization code or redirected URL for tokens and saving them to the token file.
Instructions
Finish a login started with crunch_auth_start by exchanging the authorisation code for tokens, which are saved to the token file. Pass the full URL the browser was redirected to, or just the code together with the state crunch_auth_start returned.
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": {
"redirected_url": "<redirected_url>"
},
"name": "crunch_auth_complete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | The state crunch_auth_start returned; only needed when redirected_url is just the code | |
| redirected_url | Yes | The full URL from the browser's address bar after clicking Allow (it contains code= and state=), or just the code |