oauth_v2_exchange
Exchange a legacy non-expiring token for a new limited-time token to renew Slack API access.
Instructions
Exchange a legacy access token for a new expiring access token.
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>",
"token": "<token>"
},
"name": "oauth_v2_exchange"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | The legacy (non-expiring) access token to exchange. | |
| client_id | Yes | Your app's client ID. | |
| client_secret | Yes | Your app's client secret. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||