check_draft
Checks marketing copy against supplied evidence and policy rules to flag unsubstantiated claims and missing AI disclosure before publishing.
Instructions
Check one piece of marketing copy against the evidence you hold.
Returns a plain-English report of which claims cannot be substantiated, which of your own policy rules the draft breaks, and whether an AI disclosure is missing. Read the summary first: it is written to be read by a person, and the machine-readable detail is available from check_draft_json.
ARGUMENTS
draft the copy to check, inline. Give this or draft_path.
draft_path path to a .md/.txt/.html file to check instead.
evidence_dir a folder of files to treat as evidence (.txt/.md/.html).
Everything in it is offered to the checker; nothing is
uploaded anywhere.
evidence_json evidence as a JSON array, e.g.
[{"id":"pricing","text":"The plan is $39/month"}]
policy_json your own policy file, from claimgate init-policy. Omit
to use the built-in defaults.
use_model false runs only the deterministic checks - no network, no
API key. A claim that cannot be decided that way comes
back unverified, never supported.
WHAT IT WILL NOT DO It does not decide that a claim is true because it sounds reasonable. If it cannot tell, it says so. A green tick here means an evidence file you supplied actually states the claim's substance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | ||
| use_model | No | ||
| draft_path | No | ||
| policy_json | No | ||
| evidence_dir | No | ||
| evidence_json | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |