Create inspection
create_inspectionLog a draft project inspection with type, date, agency, inspector, and notes; use the result tool afterward to record pass, fail, or re-inspect.
Instructions
Logs an inspection on a project with type, date, agency, inspector and notes.
Creates a Contractor Foreman inspection in Draft status on a project: inspection type, day, agency (internal, county, city or independent agency), inspector and notes. record_inspection_result sets pass, fail or re-inspect afterwards. Nobody is notified. Returns the saved inspection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Inspection day, YYYY-MM-DD. Default: today. | |
| type | Yes | e.g. Framing, Rough Electrical. | |
| notes | No | ||
| agency | No | ||
| project_id | Yes | The project being inspected. | |
| inspected_by | No | Inspector or office. |