opencode_provider_oauth_authorize
Start OAuth authorization for a provider by supplying its provider ID and optional auth method inputs, enabling secure authentication for OpenCode coding tasks.
Instructions
Start OAuth authorization 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>"
},
"name": "opencode_provider_oauth_authorize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | No | Additional inputs requested by the selected authentication method | |
| method | No | Auth method index from opencode_provider_auth_methods (default 0) | |
| providerId | Yes | Provider ID to authorize |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| text | Yes | ||
| isError | Yes |