Find in section
find_in_sectionReturns only the verbatim paragraphs of one obligation (section) that contain the given terms. Inputs: obligation_id; terms, 1-6 short words or phrases ("cash-out", "credit score", "LTV"; abbreviations are expanded; numbers match as words or digits, so "five years" finds "five (5) years"); optional max_passages. Each passage has verbatim (the regulator's exact text), offset (its position in the section's text), canonical_citation (the pinpoint cite, where derivable) and heading_path (every heading above it, e.g. "vi. No Cash-Out Refinances > (A) Rate and Term > (i) Standard"). A match inside a table returns the whole table (table: true; table_layout: "flattened" when the source lost its layout and cells may not line up). A passage ending in a colon includes the list it introduces (list_included: true). truncated means more passages matched than were returned. No passages means no paragraph contains the terms as given; it is not a statement about the rule. currency is null or a version/status signal (dual-version, pending, revision-pending, superseded, expired...). On an FHA section HUD's Update 18 revises, version ("in-force" or "update-18-optional") says which text this is and other_version identifies the other.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"obligation_id": "<obligation_id>",
"terms": "<terms>"
},
"name": "find_in_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | Yes | 1-6 short terms, e.g. ["cash-out", "credit score"]; not document text. | |
| max_passages | No | ||
| obligation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | On an error: the server's explanation. | |
| note | No | A note on this result. | |
| error | No | Present only on an error or refusal: not_found, ambiguous, unparsed, empty_terms, unknown_playbook, unknown_reference, offset_out_of_range, daily_capacity_reached. | |
| terms | No | Per-term match counts. | |
| notice | No | Terms notice: research use only, not legal advice. | |
| resets | No | On daily_capacity_reached: when capacity resets (00:00 UTC). | |
| status | No | E.g. current, superseded, unknown. | |
| section | No | The section designation. | |
| version | No | On a dual-version section: {label: in-force | update-18-optional, dates, note}. | |
| currency | No | null, or a version/status signal {kind, headline, detail, effective_date, mandatory_date, expires_on, as_of, links}; kind e.g. dual-version, pending, revision-pending, superseded, superseded-in-part, modified-by, expired. | |
| fallback | No | On daily_capacity_reached: where the full corpus can be downloaded. | |
| guidance | No | On a refusal or empty search: the server's explanation. | |
| page_url | No | The section's page on claudeforcompliance.com (verbatim text, currency notices, link to the regulator). | |
| passages | No | Matching verbatim passages, in section order. | |
| authority | No | The document and section title as published. | |
| truncated | No | More passages matched than were returned. | |
| alias_note | No | Explains resolved_from_alias. | |
| fetched_at | No | When the source was retrieved. | |
| source_url | No | The regulator's URL for the document. | |
| chars_total | No | The section's total length. | |
| register_id | No | The register (source document) id. | |
| snapshot_id | No | The stored source snapshot. | |
| toc_omitted | No | The section's table-of-contents line was omitted. | |
| canonical_id | No | Set when this register is a same-text copy of that register. | |
| content_hash | No | Hash of the stored text. | |
| matches_note | No | How total_matches became passages_available. | |
| coverage_tier | No | How completely the corpus holds the document. | |
| obligation_id | No | The obligation (section) id. | |
| other_version | No | On a dual-version section: the other version ({obligation_id, version, dates}). | |
| superseded_by | No | The replacing register, or null. | |
| total_matches | No | Matching paragraphs. | |
| effective_date | No | Effective date, or null. | |
| merged_into_lists | No | Matching paragraphs merged into lists with their lead-in. | |
| passages_returned | No | Passages in this response. | |
| canonical_citation | No | The citation in the regulator's style (e.g. "4000.1 II.A.5.d", "B3-3.3-07"), or null. | |
| merged_into_tables | No | Matching paragraphs merged into whole tables. | |
| passages_available | No | Passages the matches make (tables and lists merged). | |
| resolved_from_alias | No | The retired obligation id requested; its text is now at obligation_id. |