[ { "node_id": "0d0b614c", "tool": { "type": "function", "function": { "name": "get_latest_performance_snapshot", "description": "Retrieves the most recent Performance Snapshot generated for the authorized ServiceProvider.", "parameters": { "type": "object", "properties": {}, "required": [] } } } }, { "node_id": "12ac26a9", "tool": { "type": "function", "function": { "name": "calculate_provider_rating_trend", "description": "Calculates the rating trend (improving/stable/declining) for the authorized ServiceProvider over a specified period.", "parameters": { "type": "object", "properties": { "period_months": { "type": "integer", "description": "Number of months to look back for the trend analysis." } }, "required": [ "period_months" ] } } } }, { "node_id": "23236bd6", "tool": { "type": "function", "function": { "name": "get_review_analyst_insights", "description": "For a given ServiceReview ID, retrieves the Analyst insights and assignment details if analysis is complete.", "parameters": { "type": "object", "properties": { "review_id": { "type": "string", "description": "The ID of the ServiceReview to get insights for." } }, "required": [ "review_id" ] } } } }, { "node_id": "45e79723", "tool": { "type": "function", "function": { "name": "analyst_assign_review_for_analysis", "description": "Allows an Analyst to assign themselves or be assigned a specific ServiceReview for insight generation.", "parameters": { "type": "object", "properties": { "review_id": { "type": "string", "description": "The ID of the ServiceReview to assign." }, "provider_id": { "type": "string", "description": "The ID of the ServiceProvider who received the review." } }, "required": [ "review_id", "provider_id" ] } } } }, { "node_id": "4cfe4761", "tool": { "type": "function", "function": { "name": "get_audit_status_for_review", "description": "Checks the audit status and verdict for a specific ServiceReview belonging to the provider.", "parameters": { "type": "object", "properties": { "review_id": { "type": "string", "description": "The ID of the ServiceReview to check audit status for." } }, "required": [ "review_id" ] } } } }, { "node_id": "5b06e029", "tool": { "type": "function", "function": { "name": "analyst_search_providers_by_metric", "description": "Allows an Analyst to search for ServiceProviders based on performance metrics like rating average or trend.", "parameters": { "type": "object", "properties": { "min_rating_average": { "type": "number", "description": "Minimum rating_average to filter providers." }, "service_category": { "type": "string", "description": "Optional service category to filter providers." }, "trend_indicator": { "type": "string", "description": "Optional trend indicator to filter providers." } }, "required": [ "min_rating_average", "service_category", "trend_indicator" ] } } } }, { "node_id": "6de638d9", "tool": { "type": "function", "function": { "name": "authorize_service_provider_for_insight_generation", "description": "Authorizes a ServiceProvider to access the insight generation system using their unique ID.", "parameters": { "type": "object", "properties": { "provider_id": { "type": "string", "description": "The unique identifier of the ServiceProvider." } }, "required": [ "provider_id" ] } } } }, { "node_id": "77d8cc71", "tool": { "type": "function", "function": { "name": "analyst_generate_performance_snapshot", "description": "Allows an Analyst to generate a new Performance Snapshot for a ServiceProvider based on recent reviews.", "parameters": { "type": "object", "properties": { "provider_id": { "type": "string", "description": "The ID of the ServiceProvider for the snapshot." }, "snapshot_period_end": { "type": "string", "description": "The end date of the period covered by the snapshot." }, "review_id_list": { "type": "array", "description": "List of Review IDs to include in the snapshot calculation." } }, "required": [ "provider_id", "snapshot_period_end", "review_id_list" ] } } } }, { "node_id": "7cb60247", "tool": { "type": "function", "function": { "name": "list_scheduled_consultations", "description": "Lists all upcoming and past consultation sessions for the authorized ServiceProvider.", "parameters": { "type": "object", "properties": { "include_past": { "type": "boolean", "description": "Whether to include past consultations in the results." } }, "required": [ "include_past" ] } } } }, { "node_id": "85464583", "tool": { "type": "function", "function": { "name": "schedule_analyst_consultation", "description": "Schedules a new consultation session between the authorized ServiceProvider and an available Analyst for a specific topic.", "parameters": { "type": "object", "properties": { "preferred_analyst_domain": { "type": "string", "description": "Preferred Analyst specialization domain for the consultation." }, "consultation_topic": { "type": "string", "description": "The primary topic for the consultation." }, "preferred_date_window": { "type": "string", "description": "Preferred start date for the consultation (ISO 8601)." } }, "required": [ "preferred_analyst_domain", "consultation_topic", "preferred_date_window" ] } } } }, { "node_id": "90e59908", "tool": { "type": "function", "function": { "name": "list_provider_reviews", "description": "Retrieves all ServiceReview records assigned to the authorized ServiceProvider.", "parameters": { "type": "object", "properties": { "timeframe_start": { "type": "string", "description": "Optional start date to filter reviews (ISO 8601)." }, "timeframe_end": { "type": "string", "description": "Optional end date to filter reviews (ISO 8601)." } }, "required": [ "timeframe_start", "timeframe_end" ] } } } }, { "node_id": "acc4c2cf", "tool": { "type": "function", "function": { "name": "analyst_get_assigned_reviews", "description": "Retrieves all ServiceReview records currently assigned to the authorized Analyst for analysis.", "parameters": { "type": "object", "properties": { "status_filter": { "type": "string", "description": "Optional filter to get assignments with a specific status." } }, "required": [ "status_filter" ] } } } }, { "node_id": "bd38c39a", "tool": { "type": "function", "function": { "name": "analyst_perform_review_audit", "description": "Allows an Analyst to perform a quality/compliance audit on a ServiceReview and record the verdict.", "parameters": { "type": "object", "properties": { "review_id": { "type": "string", "description": "The ID of the ServiceReview to audit." }, "provider_id": { "type": "string", "description": "The ID of the ServiceProvider who received the review." }, "audit_verdict": { "type": "string", "description": "The analyst's verdict on the review's authenticity and quality." }, "compliance_issues": { "type": "array", "description": "Optional list of compliance issue codes found." } }, "required": [ "review_id", "provider_id", "audit_verdict", "compliance_issues" ] } } } }, { "node_id": "ff1009dc", "tool": { "type": "function", "function": { "name": "analyst_update_insight_assignment", "description": "Allows an Analyst to update the status of an insight assignment they are working on.", "parameters": { "type": "object", "properties": { "insight_assignment_id": { "type": "string", "description": "The ID of the insight assignment to update." }, "new_status": { "type": "string", "description": "The new analysis completion status." }, "insight_summary": { "type": "string", "description": "Optional text summary of the insights generated (required if status is 'completed')." } }, "required": [ "insight_assignment_id", "new_status", "insight_summary" ] } } } } ]