← All tool references

Generators · execute

Random Name Generator

Create first names, full names, or username-style placeholders from bundled name lists.

Open public tool

Overview

Category
Generators
API mode
execute
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-name-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/random-name-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.

count · number · required
Number of sample names to generate, from 1 to 50.
style · string · required
Format for each generated value. Accepted values: first, first_last, username.
unique · boolean · optional
Whether exact duplicates should be retried.
{
    "type": "object",
    "properties": {
        "count": {
            "type": "number",
            "description": "Number of sample names to generate, from 1 to 50."
        },
        "style": {
            "type": "string",
            "enum": [
                "first",
                "first_last",
                "username"
            ],
            "description": "Format for each generated value."
        },
        "unique": {
            "type": "boolean",
            "description": "Whether exact duplicates should be retried."
        }
    },
    "required": [
        "count",
        "style"
    ],
    "additionalProperties": false
}

Output schema

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

names · array
Generated names from bundled lists.
result · string
Browser-calculated result.
{
    "type": "object",
    "properties": {
        "names": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "description": "Generated names from bundled lists."
        },
        "result": {
            "type": "string",
            "description": "Browser-calculated result."
        }
    },
    "additionalProperties": false
}

Six full-name placeholders

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-name-generator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "count": 6,
    "style": "first_last",
    "unique": true
}'
{
    "ok": true,
    "data": {
        "slug": "random-name-generator",
        "result": {
            "values": {
                "names": [
                    "Mia Patel",
                    "Theo Brooks",
                    "Nora Kim",
                    "Jude Stone",
                    "Ivy Cole",
                    "Owen Rivera"
                ],
                "result": "Mia Patel\nTheo Brooks\nNora Kim\nJude Stone\nIvy Cole\nOwen Rivera"
            },
            "display": {
                "display": "[\"Mia Patel\",\"Theo Brooks\",\"Nora Kim\",\"Jude Stone\",\"Ivy Cole\",\"Owen Rivera\"]"
            },
            "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.