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

# RFI Drafting

> Gather context from the Drawing Index and draft an RFI.

## User Prompt

> "Write an RFI about the duct conflict with the beam at grid B-3 on level 2."

## Tool Call Sequence

<Steps>
  <Step title="Get the duct at grid B-3">
    **Call:** `Query`

    ```json theme={null}
    {
      "entity": "feature",
      "project_id": "proj_oak",
      "grid_intersection": "B-3",
      "type": "duct"
    }
    ```

    **Response:**

    ```json theme={null}
    {
      "count": 1,
      "items": [
        {
          "id": "ftr_duct_01",
          "type": "duct",
          "label": "24x12 SA",
          "uri": "storage://features/ftr_duct_01/crop.png",
          "block": { "id": "blk_m201_plan", "type": "Plan", "identifier": "1", "sheet_number": "M-201" },
          "metadata": { "size": "24x12", "system": "SA", "elevation_cl": "11'-0\"", "elevation_bottom": "10'-6\"" },
          "relations": []
        }
      ]
    }
    ```
  </Step>

  <Step title="Get the beam at grid B-3">
    **Call:** `Query`

    ```json theme={null}
    {
      "entity": "feature",
      "project_id": "proj_oak",
      "grid_intersection": "B-3",
      "type": "beam"
    }
    ```

    **Response:**

    ```json theme={null}
    {
      "count": 1,
      "items": [
        {
          "id": "ftr_beam_01",
          "type": "beam",
          "label": "W16x40",
          "uri": "storage://features/ftr_beam_01/crop.png",
          "block": { "id": "blk_s201_plan", "type": "Plan", "identifier": "1", "sheet_number": "S-201" },
          "metadata": { "designation": "W16x40", "elevation_top": "11'-2\"", "elevation_bottom": "9'-10\"" },
          "relations": []
        }
      ]
    }
    ```

    **What the agent learns so far:** The duct bottom (10'-6") is below the beam top (11'-2") -- they physically overlap by 8 inches. The agent has sheet references for both elements.
  </Step>

  <Step title="Check relevant general notes">
    **Call:** `Query`

    ```json theme={null}
    {
      "entity": "block",
      "project_id": "proj_oak",
      "sheet_number": "M-201",
      "type": "GeneralNotes",
      "include": ["ocr"]
    }
    ```

    **Response:**

    ```json theme={null}
    {
      "count": 1,
      "items": [
        {
          "id": "blk_m201_notes",
          "type": "GeneralNotes",
          "name": "MECHANICAL GENERAL NOTES",
          "sheet": { "id": "sh_m201", "sheet_number": "M-201", "discipline": "M" },
          "ocr": "1. All ductwork shall maintain minimum 2\" clearance from structure.\n2. Duct hangers per SMACNA standards.\n3. Coordinate all MEP routing with structural prior to installation.\n..."
        }
      ]
    }
    ```

    **What the agent learns:** General Note 1 requires 2" clearance from structure. The duct-beam overlap violates this requirement.
  </Step>

  <Step title="Get reference images">
    **Call:** `ViewImage` (x2, in parallel)

    ```json theme={null}
    { "uri": "storage://features/ftr_duct_01/crop.png" }
    ```

    ```json theme={null}
    { "uri": "storage://features/ftr_beam_01/crop.png" }
    ```

    **Response:**

    ```json theme={null}
    { "url": "https://cdn.bedrock.cv/signed/ftr_duct_01.png?token=...", "expires_in": 900 }
    ```

    ```json theme={null}
    { "url": "https://cdn.bedrock.cv/signed/ftr_beam_01.png?token=...", "expires_in": 900 }
    ```
  </Step>
</Steps>

## Agent Response

> **RFI #\_\_\_**
>
> **Subject:** Duct/Beam Conflict at Grid B-3, Level 2
>
> **Reference Drawings:**
>
> * M-201: Mechanical Level 2 Plan (24x12 SA duct, CL EL 11'-0")
> * S-201: Structural Level 2 Plan (W16x40 beam, T.O.S. 11'-2", B.O.S. 9'-10")
>
> **Description:**
> The 24x12 supply air duct shown on M-201 at grid intersection B-3 conflicts with the W16x40 steel beam shown on S-201 at the same location. The duct bottom elevation (10'-6") is 8" below the beam top elevation (11'-2"), creating a physical overlap.
>
> Per Mechanical General Note 1 on M-201, all ductwork shall maintain a minimum 2" clearance from structure. The current routing violates this requirement.
>
> **Requested Action:**
> Please advise on one of the following resolutions:
>
> 1. Reroute the duct below the beam (requires minimum 9'-8" ceiling clearance confirmation)
> 2. Provide a beam penetration detail if duct can pass through the web
> 3. Resize the duct to fit above the beam flange

## Summary

| Metric        | Value                                                                                                                                                                                                                                                                                |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Tool calls    | **5**                                                                                                                                                                                                                                                                                |
| Tools used    | `Query` (feature, x2) > `Query` (block) > `ViewImage` (x2)                                                                                                                                                                                                                           |
| Key technique | The agent gathers all context in 3 data calls: conflicting features with elevations, applicable notes with clearance requirements, and reference images. The RFI text -- conflict description, code citation, resolution options -- is the agent's domain reasoning, not MCP output. |
