Skip to main content

User Prompt

“What notes apply to GFCI receptacles?”

Tool Call Sequence

1

Search notes blocks for the feature type

Call: Query
{
  "entity": "block",
  "project_id": "proj_oak",
  "type": "GeneralNotes",
  "search": "electrical",
  "include": ["metadata"]
}
Response:
{
  "count": 2,
  "items": [
    {
      "id": "blk_e101_notes",
      "type": "GeneralNotes",
      "name": "ELECTRICAL GENERAL NOTES",
      "sheet": { "id": "sh_e101", "sheet_number": "E-101", "discipline": "E" },
      "drawing": { "id": "dr_elec", "name": "Electrical Set" },
      "relations": [],
      "metadata": {
        "entries": [
          {
            "number": "5",
            "text": "All receptacles in wet locations shall be GFCI protected.",
            "applies_to": ["gfci_receptacle", "receptacle"]
          },
          {
            "number": "7",
            "text": "Install GFCI receptacles within 6' of any water source per NEC 210.8.",
            "applies_to": ["gfci_receptacle"]
          },
          {
            "number": "12",
            "text": "GFCI receptacles shall be specification grade, 20A, 125V.",
            "applies_to": ["gfci_receptacle"]
          },
          {
            "number": "15",
            "text": "Provide weatherproof covers for all exterior receptacles.",
            "applies_to": ["wp_receptacle", "gfci_receptacle"]
          }
        ]
      }
    },
    {
      "id": "blk_e201_notes",
      "type": "GeneralNotes",
      "name": "SHEET NOTES",
      "sheet": { "id": "sh_e201", "sheet_number": "E-201", "discipline": "E" },
      "drawing": { "id": "dr_elec", "name": "Electrical Set" },
      "relations": [],
      "metadata": {
        "entries": [
          {
            "number": "3",
            "text": "Verify GFCI receptacle locations with plumbing contractor before rough-in.",
            "applies_to": ["gfci_receptacle"]
          }
        ]
      }
    }
  ]
}
What the agent learns: Two notes blocks contain entries with applies_to including "gfci_receptacle". The agent filters the entries array to find the 5 relevant notes across both blocks.

Agent Response

I found 5 notes that apply to GFCI receptacles across 2 notes blocks: Electrical General Notes (E-101):
  • Note 5: All receptacles in wet locations shall be GFCI protected.
  • Note 7: Install GFCI receptacles within 6’ of any water source per NEC 210.8.
  • Note 12: GFCI receptacles shall be specification grade, 20A, 125V.
  • Note 15: Provide weatherproof covers for all exterior receptacles.
Sheet Notes (E-201):
  • Note 3: Verify GFCI receptacle locations with plumbing contractor before rough-in.

Summary

MetricValue
Tool calls1
Tools usedQuery
Key techniqueEach note entry has an applies_to array tagging which feature types it’s relevant to. The agent filters for "gfci_receptacle" across all entries. This avoids keyword searching through OCR text — the semantic tagging was done during parsing.