register_user
Register a new user with RongCloud to obtain an authentication token for instant messaging services.
Instructions
Register a new user via RongCloud and return the user's token.
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": {
"user_id": "<user_id>",
"name": "<name>"
},
"name": "register_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | User ID defined by the app to obtain a token. Supports a combination of uppercase and lowercase letters and numbers, with a maximum length of 64 bytes. | |
| name | Yes | User name used for push services. Supports any characters including symbols, English letters, and Chinese characters, limited to a maximum of 64 characters. | |
| portrait_uri | No | User avatar URI, maximum length 1024 bytes. |