# Swift Bot Labs Toolbox – UUID Generator & Parser

> Swift Bot Labs Toolbox – UUID Generator & Parser is a paid API for AI agents from x402-toolbox.swiftbotlab.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-31).

Generates one or more UUIDs (v4 or v7) or parses a given UUID string, returning structured results with no API key required.

## Facts

- Endpoint: GET https://x402-toolbox.swiftbotlab.workers.dev/v1/uuid?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swift-bot-labs-toolbox-uuid-generator-parser-05a276c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1CZeqonE9Kk7C0IUlLlj8

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 swift-bot-labs-toolbox-uuid-generator-parser-05a276c2
```

Example prompt: Generate 5 version-7 UUIDs for me — I need time-sortable ones for new database records.

## When to prefer this

Choose this endpoint when you need quick, deterministic UUID generation (v4 random or v7 time-sortable) without setting up an account or API key — especially useful for agents that need unique identifiers on-the-fly and can pay per call in USDC via x402. Prefer v7 when you need monotonically sortable IDs (e.g. for databases), v4 for opaque random IDs.

## Known failure modes

- Invalid version enum value (not '4' or '7') returns an error
- Count parameter outside allowed range may return an error
- Malformed UUID string in parse mode returns an error or unparseable result
- Payment failure via x402 results in 402 response before any UUID is generated

## How this service works

62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.

## Output

Returns a JSON object with ok:true, the tool name ('uuid'), and a result object containing an array of one or more UUID strings and the version (4 or 7) that was used.

## 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",
      "HEAD"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "uuid": {
       "type": "string",
       "description": "UUID to parse (optional)"
      },
      "count": {
       "type": "string"
      },
      "version": {
       "enum": [
        "4",
        "7"
       ],
       "type": "string"
      }
     },
     "additionalProperties": false
    },
    "discoverable": {
     "type": "boolean"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "uuid",
  "result": {
   "uuids": [
    "019a2a5e-7c1b-7f3e-9d2a-4b8c1e0f5a6d",
    "019a2a5e-7c1b-7a10-8e55-0c9d2b7f1e33"
   ],
   "version": 7
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swift-bot-labs-toolbox-uuid-generator-parser-05a276c2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.swiftbotlab.workers.dev](https://www.zero.xyz/host/x402-toolbox.swiftbotlab.workers.dev/llms.txt)
