crypto_generate_token
Generate a cryptographically secure random token as a hex string. Specify the number of random bytes; default yields a 64-character hex token.
Instructions
[crypto] Generate a cryptographically secure random token. Returns a hex string. length is the number of random bytes (output will be 2× as long in hex). Default 32 bytes → 64-char hex.
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_generate_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |