Generate a random value
generate_randomGenerate a random number in a range (kind number, from and to, default 1 to 6), a color as #rrggbb (color), a GUID (guid), a ULID that sorts by its millisecond time (ulid), a password of 6 to 128 characters (password, length, default 12) or a passphrase of 2 to 12 word groups (passphrase, groups, default 4), which comes with its entropy in bits. UUIDs come from generate_uuid. No API key, no account and no sign up.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>"
},
"name": "generate_random"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | number only. | |
| from | No | number only. | |
| kind | Yes | number for an integer between from and to, color for #rrggbb, guid, ulid, password for a password of length characters, or passphrase for groups word groups. | |
| groups | No | passphrase only. | |
| length | No | password only. |