# UUID inspector

Check a UUID and read its version, variant and, for time-based versions, its timestamp.

- Endpoint: `POST https://setget.net/v1/tools/uuid-inspect` with JSON `{"input": {...}}`
- MCP: `run_tool` with `slug` = `uuid-inspect`
- Page: https://setget.net/tools/uuid-inspect

## Inputs

- `text` (required, string): The UUID to inspect. Braces, "urn:uuid:" and missing hyphens are accepted.

## Example 1

```json
{"input":{"text":"017f22e2-79b0-7cc3-98c4-dc0c0c07398f"}}
```

Result:

```json
{"valid":true,"uuid":"017f22e2-79b0-7cc3-98c4-dc0c0c07398f","version":7,"type":"Unix time-ordered","variant":"RFC 9562","timestamp":"2022-02-22T19:22:22Z","error":null}
```

## Example 2: Version 1, with braces

```json
{"input":{"text":"{C232AB00-9414-11EC-B3C8-9F6BDECED846}"}}
```

Result:

```json
{"valid":true,"uuid":"c232ab00-9414-11ec-b3c8-9f6bdeced846","version":1,"type":"time-based","variant":"RFC 9562","timestamp":"2022-02-22T19:22:22Z","error":null}
```

## Example 3: Not a UUID

```json
{"input":{"text":"not-a-uuid"}}
```

Result:

```json
{"valid":false,"uuid":null,"version":null,"type":null,"variant":null,"timestamp":null,"error":"A UUID is 32 hex digits, usually written in five groups: 8-4-4-4-12."}
```

**Which UUIDs contain a time?** Versions 1, 6 and 7. Versions 3, 4, 5 and 8 hold no readable timestamp.

**What does the variant mean?** It says which layout the UUID follows. Nearly every UUID today is the RFC 9562 variant (formerly RFC 4122). The version number only has meaning for that variant.
