oauth_access
Exchange a temporary OAuth verifier code for an access token to authenticate Slack app installations.
Instructions
Exchange a temporary OAuth verifier code for an access token (V1).
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": {
"client_id": "<client_id>",
"client_secret": "<client_secret>",
"code": "<code>"
},
"name": "oauth_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The OAuth verifier code received via the OAuth callback. | |
| client_id | Yes | Your app's client ID. | |
| redirect_uri | No | Must match the value used to request the code. | |
| client_secret | Yes | Your app's client secret. | |
| single_channel | No | Request a single-channel installation token. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||