Secure random + IDs
random_genCryptographically secure randomness: UUID v4/v7, passwords, API-key-style tokens, integers in a range, dice, coin flips, or a fair shuffle / pick from a list. Node's CSPRNG. Output is generated fresh per call and never stored or logged. Price: free. Errors: returns isError with a message for invalid input or an upstream failure (not charged).
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_gen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Highest integer (kind=int). Default 100. | |
| min | No | Lowest integer (kind=int or dice sides). Default 1. | |
| kind | No | What to generate. One of "uuid4", "uuid7", "password", "token", "int", "shuffle", "pick", "coin", "dice". Default "uuid4". | uuid4 |
| count | No | How many values to generate. Range 1-100. Default 1. | |
| items | No | List to shuffle or pick from (kind=shuffle or pick). 0-1000 items. | |
| length | No | Length for passwords and tokens. Range 4-256. Default 20. | |
| symbols | No | Include symbols in passwords. Default true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| result | No |