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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"type": "<type>"
},
"name": "create_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. |