instruction
Create a playlist with the name "My Favorite Songs" and add the "Ricci Ricci" song by Tito Puente to this playlist on the Boomplay app.
previous_actions
{"name": "click", "parameters": {"x": 962, "y": 1774}}
{"name": "click", "parameters": {"x": 318, "y": 1462}}
{"name": "wait", "parameters": {}}
active_application
screen_description
windows {
  bounds_in_screen {
    top: 136
    right: 1080
    bottom: 2400
  }
  id: 4069
  window_type: TYPE_APPLICATION
  is_active: true
  is_focused: true
  tree {
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 1080
        bottom: 304
      }
      class_name: "android.widget.RelativeLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 30
        top: 334
        right: 292
        bottom: 429
      }
      class_name: "android.widget.TextView"
      text: "Playlist Title"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 459
        right: 1080
        bottom: 587
      }
      class_name: "android.widget.RelativeLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 949
        top: 611
        right: 976
        bottom: 676
      }
      class_name: "android.widget.TextView"
      text: "0"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 976
        top: 611
        right: 1050
        bottom: 676
      }
      class_name: "android.widget.TextView"
      text: "/40"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 30
        top: 727
        right: 1080
        bottom: 729
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 36
        top: 825
        right: 1044
        bottom: 1001
      }
      class_name: "android.widget.RelativeLayout"
      is_clickable: true
      is_focusable: true
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 30
        top: 1052
        right: 1080
        bottom: 1054
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 136
        right: 168
        bottom: 304
      }
      class_name: "android.widget.ImageButton"
      is_clickable: true
      is_focusable: true
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 180
        top: 183
        right: 900
        bottom: 256
      }
      class_name: "android.widget.TextView"
      text: "Add Playlist Title"
      is_focusable: true
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 900
        top: 182
        right: 1050
        bottom: 257
      }
      class_name: "android.widget.TextView"
      text: "OK"
      is_clickable: true
      is_focusable: true
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 30
        top: 459
        right: 1050
        bottom: 587
      }
      class_name: "android.widget.EditText"
      hint_text: "Please enter playlist title"
      text: "Please enter playlist title"
      is_clickable: true
      is_editable: true
      is_focusable: true
      is_focused: true
      is_long_clickable: true
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 951
        top: 496
        right: 1005
        bottom: 550
      }
      class_name: "android.widget.ImageView"
      is_clickable: true
      is_focusable: true
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 66
        top: 825
        right: 849
        bottom: 1001
      }
      class_name: "android.widget.RelativeLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 942
        top: 881
        right: 1044
        bottom: 944
      }
      class_name: "android.widget.ToggleButton"
      is_checkable: true
      is_clickable: true
      is_focusable: true
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 66
        top: 825
        right: 340
        bottom: 886
      }
      class_name: "android.widget.TextView"
      text: "Set as Private"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 66
        top: 895
        right: 849
        bottom: 1001
      }
      class_name: "android.widget.TextView"
      text: "Turn on if you don\'t want other users to see this playlist."
      depth: 6
    }
  }
}

assistant
!FUNCTIONCALL{"name": "input_text", "parameters": {"text": "My Favorite Songs"}}
[{"type": "function", "function": {"name": "click", "description": "Click on a specific location on the screen", "parameters": {"type": "object", "properties": {"x": {"type": "integer", "description": "Coordinate on the x axis to click."}, "y": {"type": "integer", "description": "Coordinate on the y axis to click."}}, "required": ["x", "y"]}}}, {"type": "function", "function": {"name": "long_press", "description": "Long press on a specific location on the screen.", "parameters": {"type": "object", "properties": {"x": {"type": "integer", "description": "Coordinate on the x axis to long press."}, "y": {"type": "integer", "description": "Coordinate on the y axis to long press."}}, "required": ["x", "y"]}}}, {"type": "function", "function": {"name": "input_text", "description": "Write text inside of an already selected text field, typically this is preceeded by a 'click' action that selects a field on the screen to type into.", "parameters": {"type": "object", "properties": {"text": {"type": "string", "description": "The text to input in the field."}}, "required": ["text"]}}}, {"type": "function", "function": {"name": "scroll", "description": "Scroll a fixed amount in a specific direction.", "parameters": {"type": "object", "properties": {"direction": {"type": "string", "enum": ["up", "down", "left", "right"], "description": "The direction to scroll in."}}, "required": ["direction"]}}}, {"type": "function", "function": {"name": "navigate_home", "description": "Navigate to the home screen from the current screen you are on.", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "navigate_back", "description": "Navigate back to the previous page.", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "open_app", "description": "Open an application.", "parameters": {"type": "object", "properties": {"app_name": {"type": "string", "description": "The name of the application to open."}}, "required": ["app_name"]}}}, {"type": "function", "function": {"name": "wait", "description": "Wait for a fixed amount of time. This is useful when you need to 'await' the results of a page that is still loading.", "parameters": {"type": "object", "properties": {}}}}, {"type": "function", "function": {"name": "status", "description": "Once you have completed the work required to fulfill an instruction, report your status by calling this function with 'successful'. If you find that a task is impossible to complete,  call this with 'infeasible' after finding that information.", "parameters": {"type": "object", "properties": {"goal_status": {"type": "string", "enum": ["successful", "infeasible"], "description": "The status of the completion of a instruction, either 'successful' or 'infeasible', called to conclude an episode."}}, "required": ["goal_status"]}}}]