random_bytes
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | Number of bytes | |
| encoding | No | Output encoding: hex, base64 | hex |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| value | Yes | ||
| encoding | Yes |