[ { "node_id": "1000f002", "tool": { "type": "function", "function": { "name": "create_emergency_protocol_assignment", "description": "Creates a new emergency protocol assignment for a ServiceProvider based on FirstResponder guidance, establishing the initial assignment record.", "parameters": { "type": "object", "properties": { "service_provider_id": { "type": "string", "description": "Unique identifier of the ServiceProvider" }, "firstresponder_id": { "type": "string", "description": "Unique identifier of the FirstResponder providing guidance" }, "protocol_name": { "type": "string", "description": "Name of the emergency protocol to assign", "enum": [ "emergency_evacuation", "crisis_communication", "medical_first_response", "hazard_containment", "logistics_coordination" ] } }, "required": [ "service_provider_id", "firstresponder_id", "protocol_name" ] } } } }, { "node_id": "1c96bff5", "tool": { "type": "function", "function": { "name": "authorize_service_provider_for_management_system", "description": "Authorizes a ServiceProvider to access the system using their unique identifier", "parameters": { "type": "object", "properties": { "service_provider_id": { "type": "string", "description": "Unique identifier of the ServiceProvider" } }, "required": [ "service_provider_id" ] } } } }, { "node_id": "3142f5cf", "tool": { "type": "function", "function": { "name": "assign_emergency_protocol_to_provider_with_priority", "description": "", "parameters": { "type": "object", "properties": { "service_provider_id": { "type": "string", "description": "Unique identifier of the ServiceProvider" }, "firstresponder_id": { "type": "string", "description": "Unique identifier of the FirstResponder providing guidance" }, "protocol_name": { "type": "string", "description": "Name of the emergency protocol to assign" }, "assignment_priority": { "type": "string", "description": "Priority level for this protocol assignment, indicating urgency or importance for training and activation.", "enum": [ "standard", "high", "critical" ], "default": "standard" } }, "required": [ "service_provider_id", "firstresponder_id", "protocol_name" ] } } } }, { "node_id": "3e7b68f7", "tool": { "type": "function", "function": { "name": "query_service_provider_training_history_with_date_filter", "description": "Queries the training history of a ServiceProvider across all TrainingFacilities, with optional filtering by completion status and enrollment date range.", "parameters": { "type": "object", "properties": { "service_provider_id": { "type": "string", "description": "Unique identifier of the ServiceProvider" }, "completion_status_filter": { "type": "string", "description": "Filter training records by completion status" }, "date_range_filter": { "type": "string", "description": "Filter training records by enrollment date range in ISO 8601 format (e.g., '2024-01-01/2024-12-31'). Leave empty to include all dates." } }, "required": [ "service_provider_id", "completion_status_filter" ] } } } }, { "node_id": "41bba037", "tool": { "type": "function", "function": { "name": "query_provider_emergency_protocols", "description": "Queries all emergency protocols assigned to a ServiceProvider with FirstResponder guidance", "parameters": { "type": "object", "properties": { "service_provider_id": { "type": "string", "description": "Unique identifier of the ServiceProvider" }, "assignment_status_filter": { "type": "string", "description": "Filter protocol assignments by status" } }, "required": [ "service_provider_id", "assignment_status_filter" ] } } } }, { "node_id": "47bbfa4f", "tool": { "type": "function", "function": { "name": "create_service_provider_training_enrollment", "description": "Enrolls a provider in a training program", "parameters": { "type": "object", "properties": { "service_provider_id": { "type": "string", "description": "Unique identifier of the ServiceProvider" }, "training_facility_id": { "type": "string", "description": "Unique identifier of the TrainingFacility" }, "training_type": { "type": "string", "description": "Type of training to enroll in" }, "enrollment_date": { "type": "string", "description": "Optional enrollment date for the training (ISO 8601 timestamp). If not provided, defaults to current date/time.", "format": "date-time" } }, "required": [ "service_provider_id", "training_facility_id", "training_type" ] } } } }, { "node_id": "50b719c1", "tool": { "type": "function", "function": { "name": "evaluate_collaboration_effectiveness_with_notes", "description": "Evaluates and records the effectiveness rating of a ServiceProvider-FirstResponder collaboration, with optional notes for review.", "parameters": { "type": "object", "properties": { "collaboration_id": { "type": "string", "description": "Unique identifier of the collaboration record" }, "effectiveness_rating": { "type": "number", "description": "Rating of collaboration effectiveness" }, "collaboration_status": { "type": "string", "description": "Updated status of the collaboration" }, "review_notes": { "type": "string", "description": "Optional notes or comments from the reviewer about the collaboration evaluation. Useful for providing context or justification for the rating and status update.", "default": "" } }, "required": [ "collaboration_id", "effectiveness_rating", "collaboration_status" ] } } } }, { "node_id": "6a4cbf69", "tool": { "type": "function", "function": { "name": "update_service_provider_training_completion", "description": "Updates the completion status of a ServiceProvider's training enrollment", "parameters": { "type": "object", "properties": { "enrollment_id": { "type": "string", "description": "Unique identifier of the training enrollment" }, "completion_status": { "type": "string", "description": "New completion status for the training" }, "certification_earned": { "type": ["string", "null"], "description": "Certification code earned if training completed successfully" } }, "required": [ "enrollment_id", "completion_status", "certification_earned" ] } } } }, { "node_id": "8c936068", "tool": { "type": "function", "function": { "name": "update_protocol_assignment_status", "description": "Updates the status of an emergency protocol assignment to a ServiceProvider", "parameters": { "type": "object", "properties": { "assignment_id": { "type": "string", "description": "Unique identifier of the protocol assignment" }, "assignment_status": { "type": "string", "description": "New status of the protocol assignment" }, "review_frequency": { "type": "string", "description": "Frequency for reviewing the protocol assignment" } }, "required": [ "assignment_id", "assignment_status", "review_frequency" ] } } } }, { "node_id": "9f857700", "tool": { "type": "function", "function": { "name": "initiate_first_responder_collaboration", "description": "Initiates a collaboration between a ServiceProvider and FirstResponder for emergency protocols", "parameters": { "type": "object", "properties": { "service_provider_id": { "type": "string", "description": "Unique identifier of the ServiceProvider" }, "firstresponder_id": { "type": "string", "description": "Unique identifier of the FirstResponder" }, "protocol_type": { "type": "string", "description": "Type of emergency protocol for collaboration" } }, "required": [ "service_provider_id", "firstresponder_id", "protocol_type" ] } } } }, { "node_id": "aecf5624", "tool": { "type": "function", "function": { "name": "register_service_provider_training_with_date", "description": "Registers a ServiceProvider for a training session at a TrainingFacility with optional enrollment date specification", "parameters": { "type": "object", "properties": { "service_provider_id": { "type": "string", "description": "Unique identifier of the ServiceProvider" }, "training_facility_id": { "type": "string", "description": "Unique identifier of the TrainingFacility" }, "training_type": { "type": "string", "description": "Type of training to enroll in" }, "enrollment_date": { "type": "string", "description": "Optional enrollment date for the training (ISO 8601 timestamp). If not provided, defaults to current date/time.", "format": "date-time" } }, "required": [ "service_provider_id", "training_facility_id", "training_type" ] } } } }, { "node_id": "af9d25a3", "tool": { "type": "function", "function": { "name": "validate_provider_certification_status", "description": "Validates and updates the status of a ServiceProvider's certification linked to a TrainingFacility", "parameters": { "type": "object", "properties": { "certification_link_id": { "type": "string", "description": "Unique identifier of the certification link" }, "certification_status": { "type": "string", "description": "Updated status of the certification" } }, "required": [ "certification_link_id", "certification_status" ] } } } }, { "node_id": "b1aab49a", "tool": { "type": "function", "function": { "name": "configure_protocol_assignment_priority", "description": "", "parameters": { "type": "object", "properties": { "assignment_id": { "type": "string", "description": "Unique identifier of the protocol assignment to configure" }, "assignment_priority": { "type": "string", "description": "Priority level for this protocol assignment, determining appropriate review frequency and initial status", "enum": [ "standard", "high", "critical" ], "default": "standard" } }, "required": [ "assignment_id" ] } } } }, { "node_id": "cde27f92", "tool": { "type": "function", "function": { "name": "link_provider_certification_to_facility_with_validity", "description": "Links a ServiceProvider's certification to a specific TrainingFacility program with an optional validity period specification", "parameters": { "type": "object", "properties": { "service_provider_id": { "type": "string", "description": "Unique identifier of the ServiceProvider" }, "training_facility_id": { "type": "string", "description": "Unique identifier of the TrainingFacility" }, "certification_number": { "type": "string", "description": "Certification number from ServiceProvider's certification_numbers" }, "validity_period": { "type": "integer", "description": "Validity period for the certification link in years (defaults to 2 years if not specified)", "minimum": 1, "maximum": 5 } }, "required": [ "service_provider_id", "training_facility_id", "certification_number" ] } } } }, { "node_id": "eb250428", "tool": { "type": "function", "function": { "name": "validate_service_provider_training_eligibility", "description": "Validates if a ServiceProvider is eligible for training enrollment at a specified TrainingFacility", "parameters": { "type": "object", "properties": { "service_provider_id": { "type": "string", "description": "Unique identifier of the ServiceProvider to validate" }, "training_facility_id": { "type": "string", "description": "Unique identifier of the TrainingFacility to validate" }, "training_type": { "type": "string", "description": "Type of training to check eligibility for" } }, "required": [ "service_provider_id", "training_facility_id", "training_type" ] } } } }, { "node_id": "eb474fda", "tool": { "type": "function", "function": { "name": "initiate_first_responder_collaboration_with_status", "description": "Initiates a collaboration between a ServiceProvider and FirstResponder for emergency protocols with configurable initial status", "parameters": { "type": "object", "properties": { "service_provider_id": { "type": "string", "description": "Unique identifier of the ServiceProvider" }, "firstresponder_id": { "type": "string", "description": "Unique identifier of the FirstResponder" }, "protocol_type": { "type": "string", "description": "Type of emergency protocol for collaboration", "enum": [ "evacuation_assistance", "emergency_sheltering", "medical_support", "logistics_coordination", "crisis_communication" ] }, "initial_collaboration_status": { "type": "string", "description": "Initial status for the collaboration (defaults to 'scheduled')", "enum": [ "scheduled", "active", "completed", "reviewed", "archived" ], "default": "scheduled" } }, "required": [ "service_provider_id", "firstresponder_id", "protocol_type" ] } } } } ]