check_defined_terms
Audit defined terms in a legal document, reporting never-used, multiply-defined, used-before-definition, and undefined recurring terms so you can review flagged items.
Instructions
BETA (heuristic): review the flagged-items list in the result rather than trusting silently. Audit a legal document's defined terms. Finds definitions («"Term" means», «"Term" shall mean», «(the "Term")», «(each, a "Term")»; defaults overridable via definition_patterns, each regex capturing the term as group 1) and reports, with paragraph indices: defined_never_used, defined_multiple_times, first_use_before_definition, and used_never_defined (a HEURISTIC list of capitalized recurring terms, filtered so sentence-start capitals are not flagged; treat as review candidates). Body-level paragraphs only. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| definition_patterns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||