instruction
Open the Papago app and download the Korean language then translate the text "I am fond of spicy food" from English to Korean in offline mode.
previous_actions
{"name": "open_app", "parameters": {"app_name": "Papago"}}
{"name": "click", "parameters": {"x": 753, "y": 196}}
{"name": "click", "parameters": {"x": 977, "y": 1265}}
{"name": "click", "parameters": {"x": 853, "y": 683}}
{"name": "click", "parameters": {"x": 574, "y": 2213}}
{"name": "wait", "parameters": {}}
{"name": "scroll", "parameters": {"direction": "up"}}
{"name": "click", "parameters": {"x": 290, "y": 204}}
{"name": "click", "parameters": {"x": 869, "y": 924}}
{"name": "click", "parameters": {"x": 887, "y": 1656}}
{"name": "scroll", "parameters": {"direction": "down"}}
{"name": "click", "parameters": {"x": 539, "y": 193}}
{"name": "click", "parameters": {"x": 493, "y": 1265}}
{"name": "click", "parameters": {"x": 862, "y": 1332}}
{"name": "click", "parameters": {"x": 84, "y": 193}}
{"name": "click", "parameters": {"x": 539, "y": 848}}
{"name": "input_text", "parameters": {"text": "I am fond of spicy food"}}
active_application
Text Translation
screen_description
windows {
  bounds_in_screen {
    right: 1080
    bottom: 128
  }
  id: 2040
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 50
        right: 1027
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 469
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 469
        top: 1
        right: 587
        bottom: 128
      }
      class_name: "android.view.View"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 587
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 268
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 970
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 268
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 970
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 50
        top: 1
        right: 152
        bottom: 128
      }
      class_name: "android.widget.TextView"
      content_description: "10:05 AM"
      text: "10:05"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 1
        right: 268
        bottom: 128
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 970
        top: 1
        right: 986
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 128
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 1
        right: 268
        bottom: 128
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 47
        right: 1006
        bottom: 81
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 152
        top: 1
        right: 210
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "Weather notification: 11°"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 210
        top: 1
        right: 268
        bottom: 128
      }
      class_name: "android.widget.ImageView"
      content_description: "TeraBox notification: "
      depth: 9
    }
  }
}
windows {
  bounds_in_screen {
    right: 1080
    bottom: 2400
  }
  id: 4902
  title: "Text Translation"
  window_type: TYPE_APPLICATION
  is_active: true
  is_focused: true
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2400
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 128
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 2337
        right: 1080
        bottom: 2400
      }
      class_name: "android.view.View"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.View"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 259
      }
      class_name: "android.widget.FrameLayout"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 259
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.ScrollView"
      is_focusable: true
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 259
        right: 1080
        bottom: 327
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 2179
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 2337
      }
      class_name: "android.widget.RelativeLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 169
        bottom: 259
      }
      class_name: "android.widget.ImageView"
      content_description: "Back"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 280
        right: 1080
        bottom: 2337
      }
      class_name: "android.view.ViewGroup"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 402
        top: 267
        right: 455
        bottom: 320
      }
      class_name: "android.widget.ImageView"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 468
        top: 272
        right: 679
        bottom: 315
      }
      class_name: "android.widget.TextView"
      text: "You are offline."
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 326
        right: 1080
        bottom: 327
      }
      class_name: "android.view.View"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 36
        top: 2179
        right: 166
        bottom: 2335
      }
      class_name: "android.widget.ImageView"
      content_description: "Copy translation"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 329
        top: 2179
        right: 459
        bottom: 2335
      }
      class_name: "android.widget.ImageView"
      content_description: "Share"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 621
        top: 2179
        right: 751
        bottom: 2335
      }
      class_name: "android.widget.ImageView"
      content_description: "Favorite"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 914
        top: 2179
        right: 1044
        bottom: 2335
      }
      class_name: "android.widget.ImageView"
      content_description: "See in Full Screen"
      is_clickable: true
      is_focusable: true
      depth: 9
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 265
      }
      class_name: "android.view.View"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 128
        right: 1080
        bottom: 265
      }
      class_name: "android.view.ViewGroup"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 286
      }
      class_name: "android.widget.RelativeLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 348
        right: 232
        bottom: 500
      }
      class_name: "android.widget.ImageView"
      content_description: "Listen (input text)"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 232
        top: 348
        right: 949
        bottom: 500
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 949
        top: 348
        right: 1054
        bottom: 500
      }
      class_name: "android.widget.ImageView"
      content_description: "Delete input text"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 500
        right: 1036
        bottom: 652
      }
      class_name: "android.widget.EditText"
      hint_text: "Type the text to translate."
      text: "I am fond of spicy food"
      is_clickable: true
      is_editable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 500
        right: 1036
        bottom: 652
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 652
        right: 1080
        bottom: 694
      }
      class_name: "android.widget.RelativeLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 32
        top: 723
        right: 232
        bottom: 875
      }
      class_name: "android.widget.ImageView"
      content_description: "Listen (translated text)"
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 757
        top: 723
        right: 1080
        bottom: 875
      }
      class_name: "android.widget.ToggleButton"
      is_checkable: true
      is_checked: true
      is_clickable: true
      is_focusable: true
      is_selected: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 45
        top: 896
        right: 1035
        bottom: 1389
      }
      class_name: "android.widget.TextView"
      content_description: "Translation result screen"
      text: "나는 매운 음식을 좋아한다."
      is_clickable: true
      is_focusable: true
      is_long_clickable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        top: 1389
        right: 1080
        bottom: 1651
      }
      class_name: "android.view.View"
      is_clickable: true
      is_focusable: true
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 131
        top: 144
        right: 464
        bottom: 249
      }
      class_name: "android.widget.Button"
      content_description: "English Translate from, Change"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 475
        top: 131
        right: 606
        bottom: 262
      }
      class_name: "android.widget.ImageView"
      content_description: "Switch languages"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 617
        top: 144
        right: 949
        bottom: 249
      }
      class_name: "android.widget.Button"
      content_description: "Korean Translate to, Change"
      is_clickable: true
      is_focusable: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 265
        right: 1080
        bottom: 266
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        top: 672
        right: 1080
        bottom: 673
      }
      class_name: "android.view.View"
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 783
        top: 774
        right: 933
        bottom: 825
      }
      class_name: "android.widget.TextView"
      text: "Honorific"
      is_selected: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 938
        top: 768
        right: 1035
        bottom: 831
      }
      class_name: "android.widget.ImageView"
      is_selected: true
      depth: 11
    }
    nodes {
      bounds_in_screen {
        left: 231
        top: 168
        right: 362
        bottom: 225
      }
      class_name: "android.widget.LinearLayout"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 373
        top: 189
        right: 394
        bottom: 205
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 688
        top: 168
        right: 815
        bottom: 225
      }
      class_name: "android.widget.TextView"
      text: "Korean"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 826
        top: 189
        right: 847
        bottom: 205
      }
      class_name: "android.widget.ImageView"
      depth: 12
    }
    nodes {
      bounds_in_screen {
        left: 231
        top: 168
        right: 362
        bottom: 225
      }
      class_name: "android.widget.TextView"
      text: "English"
      depth: 13
    }
  }
}

assistant
!FUNCTIONCALL{"name": "status", "parameters": {"goal_status": "successful"}}
[{"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"]}}}]