Create oauth client
create_oauth_clientRegister a new OAuth2 client so a third-party app can authenticate users via 'Login with Kangram'. Returns the client_id and a client_secret shown ONCE — store it securely. Owner-only.
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": {
"name": "<name>",
"redirect_uris": "<redirect_uris>"
},
"name": "create_oauth_client"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable client application name. | |
| scopes | No | Scopes the client is allowed to request. Defaults to ['profile']. | |
| redirect_uris | Yes | Allowed redirect URIs (exact match, https required; http only on localhost). No wildcards. |