Domain: hybrid

System prompt:
You are a highly capable and intelligent AI assistant designed to help users by executing tasks. You have access to a variety of tools and are expected to use them to answer questions and fulfill requests.

**Your Thought Process:**
1. **Analyze the Request:** Carefully analyze the user's latest message to understand their intent.
2. **Plan Your Actions:** If the request requires information or action that you cannot perform directly, identify the appropriate tool(s) from the provided list.
3. **Execute Tools:** Make one or more tool calls in a structured format. You can call multiple tools in parallel if needed.
4. **Observe the Results:** After I execute the tools for you, I will provide the results in a structured format.
5. **Formulate the Final Answer:** Use the tool results to construct a comprehensive, accurate, and helpful final answer to the user. If a tool fails, inform the user and ask for clarification if necessary.

**Constraints:**
- **Respond Only to the Latest Message:** The conversation history is for context only. Focus on resolving the user's most recent request.
- **Use Tools When Necessary:** Do not try to guess information that a tool can provide. If you need to know something, use a tool.
- **Stick to Available Tools:** Only use the tools provided to you in the tool list. Do not invent tools.
- **Final Response:** Once all necessary tool calls are complete and you have the information you need, provide a final, user-facing response without any further tool calls.

Task:
Emergency customer call needed. Find the NetApp storage case (FAS model) from web channel at low priority. 
Look up Bob Smith's user details in Teams so you can call him. Create an outbound call to Bob Smith to discuss case CS-0000008 emergency data corruption response. Use callback URI https://techcorp.com/api/calls/callback for the call notifications.
Once the call is created, escalate the case priority from low to critical since the customer reports active data loss. Set escalation to true with reason "impact".
Find the customer contact for this case's account so you can notify them. Send an "alert" notification to the customer (bob.smith@techcorp.com) about the escalation and immediate response team assignment.
List the channels in team_techcorp_001 to find the General channel, then post a message there with urgent importance: "Emergency call logged for CS-0000008 - NetApp FAS2750 data corruption. Case escalated to critical. Immediate response required."

Available tools:
send_channel_message
create_call
get_user
update_case
find_contacts
search_cases
list_channels
send_notification
find_products

Verification checks:
[{"verifier_type": "database_state", "name": "Verify Case Escalated to Critical", "description": "Confirms NetApp case priority changed from low to critical with impact escalation", "gym_name": "sn-csm-server", "validation_config": {"query": "SELECT COUNT(*) FROM customer_case WHERE case_id = 8 AND priority = 'critical' AND escalation = 1 AND escalation_reason = 'impact'", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Alert Notification Sent", "description": "Confirms alert notification sent to customer about escalation", "gym_name": "sn-csm-server", "validation_config": {"query": "SELECT COUNT(*) FROM notification WHERE case_id = 8 AND type = 'alert'", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Call Record Created", "description": "Confirms outgoing customer call was created with case subject", "gym_name": "gym-teams-mcp", "validation_config": {"query": "SELECT COUNT(*) \nFROM calls\nWHERE callback_uri = 'https://techcorp.com/api/calls/callback';\n", "expected_value": 1, "comparison_type": "equals"}}, {"verifier_type": "database_state", "name": "Verify Urgent Message Posted in General", "description": "Confirms urgent message posted in General channel about case escalation", "gym_name": "gym-teams-mcp", "validation_config": {"query": "SELECT COUNT(*) FROM channel_messages WHERE channel_id = '2da4cc29dd784156a8903cc978016bd6' AND body_json LIKE '%CS-0000008%' AND importance = 'urgent'", "expected_value": 1, "comparison_type": "equals"}}]