search_permit_requirements
Search municipal building codes and local amendments to retrieve exact section citations for permit requirements. Filter results by jurisdiction and trade to get relevant code excerpts.
Instructions
Section-Aware Municipal Building Code RAG Search (Rule 3).
Queries the local section-aware RAG engine of municipal building codes, local amendments, and technical guidelines (e.g. Phoenix Mechanical Code 301.5, ASHRAE 90.1, NEC 2023). Achieves ~82.9% context token reduction compared to raw manual dumping.
Args: query: Building code search query (e.g., "rooftop unit structural calculations Phoenix"). jurisdiction: Optional filter (e.g., "City of Phoenix"). permit_type: Optional trade filter (e.g., "mechanical", "electrical"). top_k: Number of relevant code sections to retrieve (default: 4).
Returns: Precise building code citations, section numbers, relevance scores, and excerpts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No | ||
| permit_type | No | ||
| jurisdiction | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |