Create a moderation keyword list
cometchat_create_moderation_listCreates a keyword list (1-1000 terms) for moderation rules; blank terms and terms over 200 characters are dropped. Attach it to a rule in the dashboard.
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>",
"id": "<id>",
"name": "<name>",
"keywords": "<keywords>"
},
"name": "cometchat_create_moderation_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | List id: letters, numbers, - and _ | |
| name | Yes | Name | |
| app_id | Yes | The CometChat App ID (from cometchat_list_apps). | |
| keywords | Yes | Words or phrases | |
| description | No | What the list is for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | List id | |
| name | Yes | Name | |
| app_id | Yes | App ID | |
| keywords | Yes | Keywords saved |