Set gateway scope oauth client
set_gateway_scope_oauth_clientStore the OAuth client every member signs in with on a member-held oauth scope, for an authorization server that offers no dynamic client registration. The secret is sealed and never returned. Replacing the client keeps members' tokens, though a token issued to the old client may need its member to reconnect.
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": {
"server_slug": "<server_slug>",
"scope": "<scope>",
"client_id": "<client_id>"
},
"name": "set_gateway_scope_oauth_client"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | A member-held scope whose auth_mode is oauth. | |
| client_id | Yes | The OAuth client id registered with the downstream server's authorization server. | |
| server_slug | Yes | The server's slug, from list_gateway_servers. | |
| client_secret | No | The client secret, for a confidential client. |