random_bytes_2
Generate cryptographically secure random bytes.
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": "random_bytes_2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format: hex, base64, urlsafe | hex |
| length | No | Number of bytes to generate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| value | Yes | ||
| format | Yes | ||
| secure | Yes |