# UUID Built-ins

| Function | Description | Meta |
| --- | --- | --- |
| `uuid.parse` | `result := uuid.parse(uuid)`  Parses the string value as an UUID and returns an object with the well-defined fields of the UUID if valid.  **Arguments:**  `uuid` (string)  UUID string to parse  **Returns:**  `result` (object\[string: any\])  Properties of UUID if valid (version, variant, etc). Undefined otherwise. | [v0.57.0](https://github.com/open-policy-agent/opa/releases/v0.57.0) SDK-dependent |
| `uuid.rfc4122` | `output := uuid.rfc4122(k)`  Returns a new UUIDv4.  **Arguments:**  `k` (string)  seed string  **Returns:**  `output` (string)  a version 4 UUID; for any given `k`, the output will be consistent throughout a query evaluation | [v0.20.0](https://github.com/open-policy-agent/opa/releases/v0.20.0) SDK-dependent |