[ { "node_id": "000ce717", "tool": { "type": "function", "function": { "name": "validate_monitoring_device_calibration_with_structured_id", "description": "Validates monitoring device calibration status before operation with optional calibration type specification. Uses structured device IDs with MD- prefix.", "parameters": { "type": "object", "properties": { "monitoringdevice_id": { "type": "string", "description": "Unique identifier for the monitoring device in structured format (MD- prefix followed by alphanumeric characters)", "pattern": "^MD-[A-Za-z0-9]+$" }, "calibration_type": { "type": "string", "description": "Type of calibration to validate", "enum": [ "full_calibration", "sensor_calibration", "battery_calibration", "communication_calibration" ], "default": "full_calibration" } }, "required": [ "monitoringdevice_id" ] } } } }, { "node_id": "01447fa9", "tool": { "type": "function", "function": { "name": "assign_communication_device_to_responder", "description": "Assigns a communication device to a first responder for field operations", "parameters": { "type": "object", "properties": { "firstresponder_id": { "type": "string", "description": "Unique organizational identifier for the responder" }, "communicationdevice_id": { "type": "string", "description": "Unique hardware identifier" }, "primary_use_case": { "type": "string", "description": "Intended primary use for the device assignment" } }, "required": [ "firstresponder_id", "communicationdevice_id", "primary_use_case" ] } } } }, { "node_id": "06b8039c", "tool": { "type": "function", "function": { "name": "validate_responder_vehicle_deployment_prerequisites", "description": "Validates prerequisites for deploying a first responder to an emergency vehicle, including responder authentication, device assignment status, and vehicle operational status", "parameters": { "type": "object", "properties": { "firstresponder_id": { "type": "string", "description": "Unique organizational identifier for the responder" }, "badge_number": { "type": "string", "description": "Official identification number displayed on uniform for authentication" }, "emergencyvehicle_id": { "type": "string", "description": "Unique fleet identification number" } }, "required": [ "firstresponder_id", "badge_number", "emergencyvehicle_id" ] } } } }, { "node_id": "0b1d5898", "tool": { "type": "function", "function": { "name": "authenticate_first_responder", "description": "Authorizes a first responder using their ID and badge number", "parameters": { "type": "object", "properties": { "firstresponder_id": { "type": "string", "description": "Unique organizational identifier for the responder" }, "badge_number": { "type": "string", "description": "Official identification number displayed on uniform" } }, "required": [ "firstresponder_id", "badge_number" ] } } } }, { "node_id": "38022ba7", "tool": { "type": "function", "function": { "name": "validate_responder_status_change", "description": "Validates if a first responder can have their operational status changed. Checks responder existence and validates the requested status transition.", "parameters": { "type": "object", "properties": { "firstresponder_id": { "type": "string", "description": "Unique organizational identifier for the responder" }, "new_operational_status": { "type": "string", "description": "New operational status to validate", "enum": [ "active", "on_duty", "off_duty", "on_leave", "suspended" ] } }, "required": [ "firstresponder_id", "new_operational_status" ] } } } }, { "node_id": "3b6ddd68", "tool": { "type": "function", "function": { "name": "list_filtered_communication_devices_with_battery", "description": "Lists available communication devices for assignment with filtering options including device type, encryption level, availability status, and minimum battery level", "parameters": { "type": "object", "properties": { "device_type": { "type": "string", "description": "Filter by device type" }, "encryption_level": { "type": "string", "description": "Filter by encryption level" }, "availability_status": { "type": "string", "description": "Filter by device availability status", "enum": [ "available", "assigned", "maintenance", "damaged", "retired", "all" ], "default": "available" }, "minimum_battery_level": { "type": "integer", "description": "Filter devices with battery level at or above this percentage (0-100)", "minimum": 0, "maximum": 100, "default": 50 } }, "required": [ "device_type", "encryption_level" ] } } } }, { "node_id": "44fc4bfc", "tool": { "type": "function", "function": { "name": "create_emergency_vehicle_deployment_record", "description": "Creates a deployment record for a first responder assigned to an emergency vehicle with a specific role, after prerequisites have been validated", "parameters": { "type": "object", "properties": { "firstresponder_id": { "type": "string", "description": "Unique organizational identifier for the responder" }, "emergencyvehicle_id": { "type": "string", "description": "Unique fleet identification number" }, "deployment_role": { "type": "string", "description": "Role of the responder in the vehicle deployment" }, "deployment_start_time": { "type": "string", "description": "Start time of the deployment in ISO 8601 format" } }, "required": [ "firstresponder_id", "emergencyvehicle_id", "deployment_role", "deployment_start_time" ] } } } }, { "node_id": "484e734e", "tool": { "type": "function", "function": { "name": "update_responder_operational_status_with_reason", "description": "Updates the operational status of a first responder and optionally records a reason for the status change.", "parameters": { "type": "object", "properties": { "firstresponder_id": { "type": "string", "description": "Unique organizational identifier for the responder" }, "new_operational_status": { "type": "string", "description": "New operational status to set" }, "status_change_reason": { "type": "string", "description": "Optional reason for the status update. If not provided, defaults to 'routine_update'.", "enum": [ "routine_update", "shift_change", "medical_leave", "training", "disciplinary_action", "equipment_issue", "other" ], "default": "routine_update" } }, "required": [ "firstresponder_id", "new_operational_status" ] } } } }, { "node_id": "489f72e6", "tool": { "type": "function", "function": { "name": "validate_monitoring_device_operational_readiness", "description": "Validates monitoring device calibration and operational status before first responder operation", "parameters": { "type": "object", "properties": { "monitoringdevice_id": { "type": "string", "description": "Unique identifier for the monitoring device to validate" } }, "required": [ "monitoringdevice_id" ] } } } }, { "node_id": "4f9b902d", "tool": { "type": "function", "function": { "name": "record_monitoring_device_reading", "description": "Records a reading from a monitoring device operated by a responder", "parameters": { "type": "object", "properties": { "firstresponder_id": { "type": "string", "description": "Unique organizational identifier for the responder" }, "monitoringdevice_id": { "type": "string", "description": "Unique identifier for the monitoring device" }, "reading_value": { "type": "string", "description": "Value recorded from the monitoring device" }, "measurement_units": { "type": "string", "description": "Units of the recorded measurement" } }, "required": [ "firstresponder_id", "monitoringdevice_id", "reading_value", "measurement_units" ] } } } }, { "node_id": "82850157", "tool": { "type": "function", "function": { "name": "end_responder_vehicle_deployment_with_handover", "description": "Ends a first responder's deployment to an emergency vehicle and optionally records a handover note for the next shift or crew.", "parameters": { "type": "object", "properties": { "firstresponder_id": { "type": "string", "description": "Unique organizational identifier for the responder" }, "emergencyvehicle_id": { "type": "string", "description": "Unique fleet identification number" }, "deployment_end_reason": { "type": "string", "description": "Reason for ending the deployment" }, "handover_note": { "type": "string", "description": "Optional note regarding vehicle status, equipment, or ongoing issues to be passed to the next operator. Default is an empty string.", "default": "" } }, "required": [ "firstresponder_id", "emergencyvehicle_id", "deployment_end_reason" ] } } } }, { "node_id": "8882215d", "tool": { "type": "function", "function": { "name": "verify_vehicle_operational_status_with_time_check", "description": "Verifies emergency vehicle is available before responder deployment, with optional checks for specific operational status and future availability time.", "parameters": { "type": "object", "properties": { "emergencyvehicle_id": { "type": "string", "description": "Unique fleet identification number" }, "required_operational_status": { "type": "string", "description": "Optional filter to verify the vehicle matches a specific operational status. If not provided, the check defaults to verifying general availability.", "enum": [ "available", "in_service", "on_standby", "maintenance", "deployed" ], "default": "available" }, "check_availability_at_time": { "type": "string", "description": "Optional ISO 8601 datetime to check if the vehicle will be available at a specific future time. If not provided, checks current availability.", "format": "date-time", "default": "now" } }, "required": [ "emergencyvehicle_id" ] } } } }, { "node_id": "a26ef071", "tool": { "type": "function", "function": { "name": "verify_vehicle_operational_status_with_availability_check", "description": "Checks readiness of service vehicles before dispatch.", "parameters": { "type": "object", "properties": { "emergencyvehicle_id": { "type": "string", "description": "Unique fleet identification number" }, "required_operational_status": { "type": "string", "description": "Optional filter to verify the vehicle matches a specific operational status. If not provided, the check defaults to verifying general availability.", "enum": [ "available", "in_service", "on_standby", "maintenance", "deployed" ], "default": "available" } }, "required": [ "emergencyvehicle_id" ] } } } }, { "node_id": "c2cc5042", "tool": { "type": "function", "function": { "name": "get_responder_vehicle_deployments_with_role_and_status_filter", "description": "Fetches vehicle assignment information with some filters.", "parameters": { "type": "object", "properties": { "firstresponder_id": { "type": "string", "description": "Unique organizational identifier for the responder" }, "time_period": { "type": "string", "description": "Time period for filtering deployments" }, "deployment_role_filter": { "type": "string", "description": "Optional filter to return only deployments where the responder had a specific role. If not provided, all roles are included.", "enum": [ "driver", "operator", "commander", "technician", "paramedic" ] }, "deployment_status_filter": { "type": "string", "description": "Optional filter to return only deployments with a specific status. If not provided, all statuses are included. Defaults to 'all'.", "enum": [ "all", "active", "completed" ], "default": "all" } }, "required": [ "firstresponder_id", "time_period" ] } } } }, { "node_id": "c5dfd749", "tool": { "type": "function", "function": { "name": "check_responder_device_assignment_status", "description": "Checks if a responder has an active communication device assignment before deployment", "parameters": { "type": "object", "properties": { "firstresponder_id": { "type": "string", "description": "Unique organizational identifier for the responder" } }, "required": [ "firstresponder_id" ] } } } }, { "node_id": "f132ad34", "tool": { "type": "function", "function": { "name": "record_responder_monitoring_device_operation", "description": "", "parameters": { "type": "object", "properties": { "firstresponder_id": { "type": "string", "description": "Unique organizational identifier for the responder operating the device" }, "monitoringdevice_id": { "type": "string", "description": "Unique identifier for the monitoring device being operated" }, "operation_status": { "type": "string", "description": "Current operational state during device use" } }, "required": [ "firstresponder_id", "monitoringdevice_id", "operation_status" ] } } } }, { "node_id": "f25a44c6", "tool": { "type": "function", "function": { "name": "execute_responder_status_update", "description": "Executes the operational status update for a first responder after validation. Records the status change with optional reason.", "parameters": { "type": "object", "properties": { "firstresponder_id": { "type": "string", "description": "Unique organizational identifier for the responder" }, "new_operational_status": { "type": "string", "description": "New operational status to set", "enum": [ "active", "on_duty", "off_duty", "on_leave", "suspended" ] }, "status_change_reason": { "type": "string", "description": "Optional reason for the status update. If not provided, defaults to 'routine_update'.", "enum": [ "routine_update", "shift_change", "medical_leave", "training", "disciplinary_action", "equipment_issue", "other" ], "default": "routine_update" } }, "required": [ "firstresponder_id", "new_operational_status" ] } } } } ]