generate_key
Generate a cryptographically secure random key with configurable length and character set. Specify a purpose for audit logging.
Instructions
Generate a cryptographically secure random key.
Args: length: Key length (8-64 characters) charset: Character set - alphanumeric, hex, alpha, or full purpose: Description of key purpose for audit log
Returns: JSON with generated key and security info
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": "generate_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length | No | ||
| charset | No | alphanumeric | |
| purpose | No | general |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |