---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/tools/structured_data/variables/validateFormatTool.md
description: Check whether a string matches a known format.
---

# Variable: validateFormatTool

```ts
const validateFormatTool: Tool<SpooledArtifact>;
```

Defined in: [batteries/tools/structured\_data/index.ts:205](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/batteries/tools/structured_data/index.ts#L205)

Check whether a string matches a known format.

## Remarks

Supported formats: `email`, `uuid` (v1–v5), `ipv4`, `iso_date`, `iso_datetime`, `hex_color`,
`phone_e164`, `semver`, `integer`, `decimal`, `alphanumeric`, `slug`, `hex`, `base64`.
