Overview
- Category
- Generators
- API mode
not_available- Processing
- client-side
- Privacy
- no-data-stored
Public descriptor
The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.
GET /api/v1/tools/random-password-generator
Execute availability
This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.
POST /api/v1/tools/random-password-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.
length· number · required- Enter password length for this calculation.
include_uppercase· string · required-
Enter uppercase letters for this calculation. Accepted values:
yes, no. include_lowercase· string · required-
Enter lowercase letters for this calculation. Accepted values:
yes, no. include_numbers· string · required-
Enter numbers for this calculation. Accepted values:
yes, no. include_symbols· string · required-
Enter symbols for this calculation. Accepted values:
yes, no. exclude_characters· string · required- Enter exclude characters for this calculation.
{
"type": "object",
"properties": {
"length": {
"type": "number",
"description": "Enter password length for this calculation.",
"minimum": 8,
"maximum": 256
},
"include_uppercase": {
"type": "string",
"description": "Enter uppercase letters for this calculation.",
"enum": [
"yes",
"no"
]
},
"include_lowercase": {
"type": "string",
"description": "Enter lowercase letters for this calculation.",
"enum": [
"yes",
"no"
]
},
"include_numbers": {
"type": "string",
"description": "Enter numbers for this calculation.",
"enum": [
"yes",
"no"
]
},
"include_symbols": {
"type": "string",
"description": "Enter symbols for this calculation.",
"enum": [
"yes",
"no"
]
},
"exclude_characters": {
"type": "string",
"description": "Enter exclude characters for this calculation."
}
},
"required": [
"length",
"include_uppercase",
"include_lowercase",
"include_numbers",
"include_symbols",
"exclude_characters"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
password· string- Generated password calculated by the tool.
character_pool_size· number- Character pool size calculated by the tool.
estimated_entropy_bits· number- Estimated entropy bits calculated by the tool.
composition· array- Composition calculated by the tool.
{
"type": "object",
"properties": {
"password": {
"type": "string",
"description": "Generated password calculated by the tool."
},
"character_pool_size": {
"type": "number",
"description": "Character pool size calculated by the tool."
},
"estimated_entropy_bits": {
"type": "number",
"description": "Estimated entropy bits calculated by the tool."
},
"composition": {
"type": "array",
"description": "Composition calculated by the tool."
}
},
"additionalProperties": false
}
Random Password Generator worked example
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/random-password-generator/execute" \
-H "Content-Type: application/json" \
-d '{
"length": 20,
"include_uppercase": "yes",
"include_lowercase": "yes",
"include_numbers": "yes",
"include_symbols": "yes",
"exclude_characters": "O0Il1"
}'
{
"ok": true,
"data": {
"slug": "random-password-generator",
"result": {
"values": {
"password": "&yp{&[E<Y@Wr(wz?-C",
"character_pool_size": 79,
"estimated_entropy_bits": 126.0799999999999982946974341757595539093017578125,
"composition": [
{
"group": "Enabled character group",
"characters": 6
},
{
"group": "Enabled character group",
"characters": 5
},
{
"group": "Enabled character group",
"characters": 0
},
{
"group": "Enabled character group",
"characters": 9
}
]
},
"display": {
"display": "&yp{&[E<Y@Wr(wz?-C"
},
"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.