← All tool references

SEO Tools · not_available

Meta Robots Generator

Build a valid meta robots directive from indexing, link-following, preview, snippet, image, and archive controls.

Open public tool

Overview

Category
SEO Tools
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/meta-robots-generator

View this descriptor as JSON

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/meta-robots-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.

indexing · string · required
Choose the indexing directive that matches the calculation. Accepted values: index, noindex.
following · string · required
Choose the link directive that matches the calculation. Accepted values: follow, nofollow.
noarchive · boolean · optional
Turn prevent cached copy (noarchive) on or off.
nosnippet · boolean · optional
Turn prevent text snippet (nosnippet) on or off.
noimageindex · boolean · optional
Turn prevent image indexing (noimageindex) on or off.
notranslate · boolean · optional
Turn prevent translated result (notranslate) on or off.
max_snippet · number · optional
Use -1 for no limit, 0 for no snippet, or a positive character count.
bot · string · required
Choose the crawler target that matches the calculation. Accepted values: robots, googlebot, bingbot.
{
    "type": "object",
    "properties": {
        "indexing": {
            "type": "string",
            "description": "Choose the indexing directive that matches the calculation.",
            "enum": [
                "index",
                "noindex"
            ]
        },
        "following": {
            "type": "string",
            "description": "Choose the link directive that matches the calculation.",
            "enum": [
                "follow",
                "nofollow"
            ]
        },
        "noarchive": {
            "type": "boolean",
            "description": "Turn prevent cached copy (noarchive) on or off."
        },
        "nosnippet": {
            "type": "boolean",
            "description": "Turn prevent text snippet (nosnippet) on or off."
        },
        "noimageindex": {
            "type": "boolean",
            "description": "Turn prevent image indexing (noimageindex) on or off."
        },
        "notranslate": {
            "type": "boolean",
            "description": "Turn prevent translated result (notranslate) on or off."
        },
        "max_snippet": {
            "type": "number",
            "description": "Use -1 for no limit, 0 for no snippet, or a positive character count.",
            "minimum": -1,
            "maximum": 1000
        },
        "bot": {
            "type": "string",
            "description": "Choose the crawler target that matches the calculation.",
            "enum": [
                "robots",
                "googlebot",
                "bingbot"
            ]
        }
    },
    "required": [
        "indexing",
        "following",
        "bot"
    ],
    "additionalProperties": false
}

Output schema

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

content · string
Directive content produced by the calculation.
meta_tag · string
HTML meta tag produced by the calculation.
directives · array
Selected directives produced by the calculation.
warning · string
Implementation note produced by the calculation.
{
    "type": "object",
    "properties": {
        "content": {
            "type": "string",
            "description": "Directive content produced by the calculation."
        },
        "meta_tag": {
            "type": "string",
            "description": "HTML meta tag produced by the calculation."
        },
        "directives": {
            "type": "array",
            "description": "Selected directives produced by the calculation."
        },
        "warning": {
            "type": "string",
            "description": "Implementation note produced by the calculation."
        }
    },
    "additionalProperties": false
}

Meta Robots Generator 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/meta-robots-generator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "indexing": "index",
    "following": "follow",
    "noarchive": false,
    "nosnippet": false,
    "noimageindex": false,
    "notranslate": false,
    "max_snippet": -1,
    "bot": "robots"
}'
{
    "ok": true,
    "data": {
        "slug": "meta-robots-generator",
        "result": {
            "values": {
                "content": "index, follow",
                "meta_tag": "<meta name=\"robots\" content=\"index, follow\">",
                "directives": [
                    {
                        "directive": "index"
                    },
                    {
                        "directive": "follow"
                    }
                ],
                "warning": "Confirm the directive in the rendered page source."
            },
            "display": {
                "display": "index, follow"
            },
            "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.