crypto_random_bytes
Generate cryptographically secure random bytes in hex format for use as nonces, salts, or initialization vectors (IVs).
Instructions
[crypto] Generate random bytes and return as hex. Useful for nonces, salts, or IVs.
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": "crypto_random_bytes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |