oauth_exchange_code
Exchange an OAuth authorization code and redirect URI for an access token to authenticate Tencent Ad API requests.
Instructions
用授权码换取 token (Exchange authorization code for 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": {
"authorization_code": "<authorization_code>",
"redirect_uri": "<redirect_uri>"
},
"name": "oauth_exchange_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| redirect_uri | Yes | 回调地址 | |
| authorization_code | Yes | OAuth 授权码 |