Rotate client secret
oauth.clients.rotate_secretRotate an OAuth client's secret. The new plaintext secret is returned once.
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": {
"clientId": "<clientId>"
},
"name": "oauth.clients.rotate_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clientId | Yes | Public OAuth client ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Client display name | |
| clientId | Yes | Public OAuth client ID | |
| createdAt | No | Creation timestamp (RFC 3339) | |
| clientSecret | No | Plaintext secret — returned once at creation or rotation | |
| providerType | No | Identity provider type | |
| redirectUris | No | Allowed redirect URIs | |
| providerLabel | No | Custom provider label |