opencode_provider_oauth_callback
Process OAuth callback responses from providers to complete authorization, exchanging the authorization code via the specified method to authenticate and link the provider account.
Instructions
Handle OAuth callback for a provider
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": {
"providerId": "<providerId>",
"callbackData": "<callbackData>"
},
"name": "opencode_provider_oauth_callback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| providerId | Yes | Provider ID | |
| callbackData | Yes | OAuth callback data |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| text | Yes | ||
| isError | Yes |