Generate strong passwords or passphrases
generate_passwordGenerates random passwords (length 8–128, chosen character sets, optional removal of look-alike characters) or diceware-style passphrases from the EFF large wordlist (3–12 words), using the platform's cryptographically secure random generator with unbiased sampling. Returns the entropy in bits. Nothing is stored or logged. For the highest assurance, generate secrets on your own device (a password manager).
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_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'password' (default) or 'passphrase'. | |
| count | No | How many to generate, 1–10 (default 1). | |
| words | No | Passphrase words, 3–12 (default 6). | |
| length | No | Password length, 8–128 (default 20). | |
| separator | No | Passphrase separator, default '-'. | |
| add_number | No | Append a number to the passphrase. | |
| capitalize | No | Capitalize each passphrase word. | |
| character_sets | No | Any of lowercase, uppercase, digits, symbols (default all). | |
| avoid_ambiguous | No | Drop look-alikes such as I, l, 1, O and 0. |