secure_token_hex
Generate a cryptographically secure random hex token for authentication and security purposes. Specify the number of bytes to control length.
Instructions
Generate a secure random hex token.
Args: nbytes: Number of random bytes to generate (default 32)
Returns: Hex string containing 2*nbytes characters
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": "secure_token_hex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nbytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |