Create a CometChat app
cometchat_create_appCreates a new app and returns its credentials. Only when the user asks, after confirming the name and region (the region can't change later). Can take over 15 seconds.
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>",
"region": "<region>"
},
"name": "cometchat_create_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | App name, 1-100 characters | |
| region | Yes | Data region. Pick the one closest to the app's users; it can't be changed later. | |
| industry | No | Optional industry, for the dashboard's onboarding metadata. |
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. |