← All tool references

Security · execute

Passphrase Generator

Generate a random multiword passphrase locally from a 240-word bundled list with configurable word count, separators, and capitalization.

Open public tool

Overview

Category
Security
API mode
execute
Processing
client-side
Privacy
sensitive-local

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/passphrase-generator

View this descriptor as JSON

Execute availability

This tool has an execute route defined by its descriptor. Server-side execution is currently unavailable, so requests return api_not_launched.

POST /api/v1/tools/passphrase-generator/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

word_count · number · required
Choose how many randomly selected words the passphrase should contain.
separator · string · required
Enter the character to place between generated passphrase words.
capitalize · boolean · required
Turn this on to capitalize the first letter of every generated passphrase word.
{
    "type": "object",
    "properties": {
        "word_count": {
            "type": "number",
            "description": "Choose how many randomly selected words the passphrase should contain."
        },
        "separator": {
            "type": "string",
            "description": "Enter the character to place between generated passphrase words."
        },
        "capitalize": {
            "type": "boolean",
            "description": "Turn this on to capitalize the first letter of every generated passphrase word."
        }
    },
    "required": [
        "word_count",
        "separator",
        "capitalize"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

passphrase · string
Generated passphrase (omitted from WebMCP output).
word_count · number
Browser-calculated word count.
entropy_bits · number
Estimated entropy from wordlist size.
{
    "type": "object",
    "properties": {
        "passphrase": {
            "type": "string",
            "description": "Generated passphrase (omitted from WebMCP output)."
        },
        "word_count": {
            "type": "number",
            "description": "Browser-calculated word count."
        },
        "entropy_bits": {
            "type": "number",
            "description": "Estimated entropy from wordlist size."
        }
    },
    "additionalProperties": false
}

Passphrase Generator: Eight words

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/passphrase-generator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "word_count": 8,
    "separator": "-",
    "capitalize": false
}'
{
    "ok": true,
    "data": {
        "slug": "passphrase-generator",
        "result": {
            "values": {
                "passphrase": "[redacted]",
                "word_count": 8,
                "entropy_bits": 63.2999999999999971578290569595992565155029296875
            },
            "display": {
                "display": "[redacted]"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.