Generate Random Token
generate_tokenGenerate cryptographically secure random tokens for API keys, session IDs, nonces, and salts. Choose from hex, base64url, or alphanumeric encodings with configurable byte length.
Instructions
Generate a cryptographically random token — API keys, session ids, nonces, salts. Choose hex, base64url or alphanumeric encoding. Web version: https://buildutilities.com/random-string-generator
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": "generate_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | No | Bytes of entropy before encoding | |
| count | No | ||
| encoding | No | hex |