ScrubMyText tool

Validate AI JSON Output Before Taking Action

Parse AI-generated JSON and validate common JSON Schema rules before a workflow executes a model-produced tool call or downstream action.

When to use it

Use this between model generation and an action. The endpoint can validate required fields, types, enums, properties, additional properties, array sizes, string patterns, and numeric limits.

Important limitation

It intentionally supports a practical subset of JSON Schema rather than every keyword. Unsupported advanced schema features should be validated with a full schema implementation in your application.

Use it in your browser

The browser version runs locally on your device.

Open the tool →

Use it from an agent or application

POST https://api.scrubmytext.com/v1/validate-output

MCP tool name: validate_output. Paid API tools use a bearer API key; inspect_text is also available on the free API tier.

REST documentation · MCP documentation · API pricing