# AgentTools UUID Generator & Validator

> AgentTools UUID Generator & Validator is a paid API for AI agents from agentstoolshub.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

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

## Facts

- Endpoint: GET https://agentstoolshub.com/api/v1/dev/uuid?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-uuid-generator-validator-b89c412f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WFgMm5IzFS0VycUi7nM2w

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-b89c412f
```

Example prompt: Generate a new time-sortable UUIDv7 for me using a cryptographically secure random number generator.

## When to prefer this

Choose this endpoint when an agent needs a standards-compliant, cryptographically secure UUID (v4 or v7) rather than a pseudo-random or sequential ID, or when it must strictly validate an existing UUID's format, version, and variant bits in a single call. Prefer UUIDv7 when sortability by creation time matters (e.g. database indexing). Prefer UUIDv4 for pure randomness with no time correlation.

## Known failure modes

- Invalid 'op' parameter value returns an error (must be 'generate' or 'validate')
- Missing 'value' parameter when op=validate returns an error
- Invalid 'version' enum value (must be 'v4' or 'v7') returns an error
- Malformed UUID string passed to validate may return a structured invalid result rather than an error
- Payment failure (x402) if USDC balance is insufficient

## 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 newly minted UUID string (v4 random or v7 time-sortable) produced by a CSPRNG. For validate operations: a result indicating whether the supplied UUID string has a valid format, the correct version bits, and correct variant bits, along with parsed details.

## 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-b89c412f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstoolshub.com](https://www.zero.xyz/host/agentstoolshub.com/llms.txt)
