> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bedrock.cv/llms.txt
> Use this file to discover all available pages before exploring further.

# Notes Lookup

> Find general notes that apply to a specific feature type.

## User Prompt

> "What notes apply to GFCI receptacles?"

## Tool Call Sequence

<Steps>
  <Step title="Search notes blocks for the feature type">
    **Call:** `Query`

    ```json theme={null}
    {
      "entity": "block",
      "project_id": "proj_oak",
      "type": "GeneralNotes",
      "search": "electrical",
      "include": ["metadata"]
    }
    ```

    **Response:**

    ```json theme={null}
    {
      "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.
  </Step>
</Steps>

## 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

| Metric        | Value                                                                                                                                                                                                                                                 |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Tool calls    | **1**                                                                                                                                                                                                                                                 |
| Tools used    | `Query`                                                                                                                                                                                                                                               |
| Key technique | Each 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. |
