Create a registration token
create_registration_tokenCreate registration tokens to gate new-account signups. Generate a random token automatically or specify a custom token with length, expiry, and usage limits.
Instructions
Create a new registration token that can be used to gate new-account registration. Omit 'token' to have Dendrite generate a random one.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_registration_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Explicit token value; random if omitted | |
| length | No | Length of a randomly generated token | |
| expiryTime | No | Unix ms timestamp after which the token is invalid | |
| usesAllowed | No | Maximum number of times this token can be used |