CTM OAuth Exchange Code
ctm_voiceai_auth_exchangeExchanges a CTM web authorization code for OAuth tokens and stores them so the assistant can authenticate and access VoiceAI data.
Instructions
Exchanges a web-flow authorization code for CTM OAuth tokens and stores them.
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": {
"code": "<code>",
"redirect_uri": "<redirect_uri>"
},
"name": "ctm_voiceai_auth_exchange"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code query parameter CTM redirected back with. | |
| redirect_uri | Yes | Must match the redirect_uri used to authorize. |