Validate Content
validate_contentRun a 10-lens validation gate on AI-generated content, returning per-lens pass/fail, violation details, and a deterministic 0-10 score. Supports finance, marketing, legal, SEO, agency domains.
Instructions
Run the 10-lens validation gate on AI-generated content. Returns pass/fail, per-lens results, violation details, and a deterministic 0-10 score derived from violation counts (10 = clean, floors at 0; computed by the API tier layer, not by the LLM — the LLM-emitted 0-100 score was removed 2026-07-30). Requires SOULFIELD_API_KEY. Supports domains: general, finance, marketing, legal, seo, agency. WIRE CONTRACT (since 2026-08-10): each lens carries status (ran|skipped|error) and passed is null whenever no verdict was produced — parse passed===false as the violation signal, never !passed. HALT SEMANTICS: Rights runs first and halts the run on a critical violation; in a halted response downstream judged lenses read passed:null/status:skipped (unknown, not clean — consciousScan is non-blocking and keeps passed:true, its status:skipped is the never-ran signal).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The AI-generated content to validate | |
| domain | No | Domain context for validation (default: general) | |
| context | No | Audience/purpose context for Relevance lens (Lens 9). Omit to skip Relevance silently. |