# yamllint disable rule:truthy
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

conversations:
- conversation: Unlock_Intent1
  tags: [direct, p0]
  turns:
  - user:  # implicit greeting
    agent: In a sentence or two, what are you calling about today?
  - user: unlock a phone
    agent:  # silent transfer
    tool_calls:
    -
      {
        "action": "retrieve_intent_matches"
      }
    -
      {
        "action": "transfer_to_cx",
        "args": {
          "intent": "Unlock"
        }
      }
  expectations:
  - There must be a transfer_to_cx tool call with the intent parameter set to Unlock
- conversation: Unlock.Intent2
  tags: [direct]
  turns:
  - user:  # implicit greeting
    agent: In a sentence or two, what are you calling about today?
  - user: I'm locked out of my account
    agent:  # silent transfer
    tool_calls:
    -
      {
        "action": "retrieve_intent_matches"
      }
    -
      {
        "action": "transfer_to_cx",
        "args": {
          "intent": "Unlock"
        }
      }
  expectations:
  - There must be a transfer_to_cx tool call with the intent parameter set to Unlock
- conversation: Datastore_Intent1
  tags: [direct]
  turns:
  - user:  # implicit greeting
    agent: In a sentence or two, what are you calling about today?
  - user: block a number
    agent:  # silent transfer
    tool_calls:
    -
      {
        "action": "website_datastore"
      }
  expectations:
  - The agent must invoke the website_datastore tool.
