Get OSHA inspections
get_inspectionsOSHA lists inspections opened since 2012 for one worksite or by year across one employer's worksites. For one worksite, the tool returns the latest 25 inspections with totals. It returns inspection type, citation items by class (serious, willful, repeat, other), initial and current penalties, and whether citations are contested or final. It includes only inspections whose name and street address match the worksite. A contested or non-final citation is OSHA's allegation, not a finding.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_inspections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | The site_id from search_worksites. | |
| employer_id | No | The employer_id from a worksite record. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| notes | No | ||
| status | Yes | ||
| sources | No | ||
| page_url | No | ||
| release_id | No |