validate_incident
Submit validation results for incident reports to confirm or reject them before triggering emergency response actions. Used by human operators and automated systems to verify incident authenticity.
Instructions
Submit validation result for an incident report.
Used by human operators or automated validation systems (HCE) to confirm or reject incident reports before triggering full response.
Args: val: IncidentValidation with: - incident_id: ID of incident being validated - is_confirmed: True=confirmed, False=rejected/false positive - validation_source: Who/what validated (e.g., "Human-Operator") - correlated_pre_alert_id: Optional linked PDIE alert - notes: Validation reasoning and evidence
Returns: str: Confirmation message indicating action taken: "Incident {id} successfully CONFIRMED." or "Incident {id} successfully REJECTED."
Example: >>> from resq_mcp.models import IncidentValidation >>> validation = IncidentValidation( ... incident_id="INC-123", ... is_confirmed=True, ... validation_source="Human-Operator-Alice", ... notes="Confirmed via video evidence and ground reports" ... ) >>> result = await validate_incident(validation) >>> print(result) # "Incident INC-123 successfully CONFIRMED."
Workflow: 1. Edge AI detects incident (low confidence) 2. HCE cross-references with PDIE/sensors 3. If ambiguous → human review required 4. Operator submits validation via this tool 5. If confirmed → trigger response strategy 6. If rejected → log as false positive, update ML model
Audit Trail: All validations logged with timestamp, source, and reasoning for post-incident analysis and ML model refinement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| val | Yes | Validation result after cross-referencing an incident report. Part of HCE system. Produced after comparing incident reports against PDIE predictions, sensor networks, and historical data to confirm authenticity and trigger appropriate response protocols. Attributes: incident_id: ID of the incident being validated. is_confirmed: Whether the incident is confirmed as genuine. validation_source: System or agent that performed validation (e.g., "SpoonOS-HCE-Validator", "Human-Operator"). correlated_pre_alert_id: Related PDIE pre-alert if correlation found. notes: Detailed validation reasoning and cross-reference results. Example: >>> validation = IncidentValidation( ... incident_id="INC-123", ... is_confirmed=True, ... validation_source="SpoonOS-HCE-Validator", ... notes="Confirmed via PDIE correlation and sensor data" ... ) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |