random_bytes
Generate cryptographically secure random bytes with configurable encoding options (hex, base64, base64url) for any use case requiring genuine randomness.
Instructions
Generate random bytes
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": {
"count": "<count>"
},
"name": "random_bytes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of bytes to generate | |
| encoding | No | Output encoding (hex, base64, base64url) |