Get a CometChat app's credentials
cometchat_get_app_credentialsReturns an app's App ID, region and Auth Key (client-side, development only) with env-var lines for Vite, Next.js and CRA. Write them to a gitignored env file; don't echo the key. For the REST key use cometchat_list_api_keys.
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": {
"app_id": "<app_id>"
},
"name": "cometchat_get_app_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The CometChat App ID (from cometchat_list_apps). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | ||
| name | No | App name (create_app) | |
| app_id | Yes | App ID | |
| region | Yes | Data region: us, eu or in | |
| auth_key | Yes | Auth Key. Development only: it ships to the browser. Don't print it back to the user. |