# AgentTools UUID Generator & Validator

> AgentTools UUID Generator & Validator is a paid API for AI agents from agenttools-hub.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Generates cryptographically secure UUIDv4 (random) or UUIDv7 (time-sortable) identifiers, and validates any UUID's format, version, and variant bits.

## Facts

- Endpoint: GET https://agenttools-hub.vercel.app/api/v1/dev/uuid?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-uuid-generator-validator-db9e73b2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tjxPome3ZsYN_sxaOVl35

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agenttools-uuid-generator-validator-db9e73b2
```

Example prompt: Can you generate a time-sortable UUIDv7 for me to use as a new database record ID?

## When to prefer this

Choose this endpoint when you need a cryptographically secure UUID from a real CSPRNG (not a pseudo-random fallback), need the time-sortable UUIDv7 format specifically for ordered distributed systems, or need strict validation of UUID format, version, and variant bits. Prefer this over language-level UUID libraries when operating in environments where library access is limited or auditability of the random source matters.

## Known failure modes

- Invalid 'op' parameter value returns an error
- Missing required 'value' parameter when op=validate
- Malformed UUID string during validation returns invalid status
- Invalid 'version' enum value (anything other than v4 or v7) returns an error
- Network timeout or service unavailability on Vercel hosting

## How this service works

Generate cryptographically random UUIDv4s or time-sortable UUIDv7s from a real CSPRNG, and validate any UUID's format, version and variant bits. Use this when an agent needs to random v4, sortable v7, plus strict validation.

## Output

For generate operations: a freshly minted UUID string (v4 random or v7 time-sortable) produced by a real CSPRNG. For validate operations: a structured result indicating whether the provided UUID string is valid, along with its detected version and variant bits.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "op": {
       "enum": [
        "generate",
        "validate"
       ],
       "type": "string",
       "description": "Operation"
      },
      "value": {
       "type": "string",
       "description": "UUID (validate)"
      },
      "version": {
       "enum": [
        "v4",
        "v7"
       ],
       "type": "string",
       "description": "Version (generate)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttools-uuid-generator-validator-db9e73b2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttools-hub.vercel.app](https://www.zero.xyz/host/agenttools-hub.vercel.app/llms.txt)
