Update Safety Violation Log
update_safety_violation_logUpdate an existing Procore safety violation log by sending only fields to change. Resolve the log ID first with list tools, then submit modifications to receive the updated record.
Instructions
Update single Safety Violation Log. #### See - Daily Log guide - for additional info on * Attachments. Send only the fields you intend to change; omitted fields keep their current values. project_id defaults to the value set by procore_set_config when omitted, and id must identify an existing parent record — resolve it with the matching list tool first. Returns the modified safety violation log on success. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: project_id, id, safety_violation_log. Procore API: Project Management > Daily Log. Endpoint: PATCH /rest/v1.0/projects/{project_id}/safety_violation_logs/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — safety Violation Log ID | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| attachments | No | JSON request body field — safety Violation Log Attachments. To upload attachments you must upload the entire payload as `multipart/form-data` content-type and specify each parameter as form-data together with `attachments[]... | |
| safety_violation_log | Yes | JSON request body field — safety_violation_log |