instruction: Open TrailLink app and search for trails near 98106, Sort by distance and Set the Trail Length up to 20 miles

previous_actions: {"name": "open_app", "parameters": {"app_name": "TrailLink"}}
{"name": "click", "parameters": {"x": 315, "y": 2283}}
{"name": "click", "parameters": {"x": 487, "y": 457}}
{"name": "input_text", "parameters": {"text": "98106"}}
{"name": "click", "parameters": {"x": 539, "y": 580}}
{"name": "click", "parameters": {"x": 330, "y": 889}}
{"name": "scroll", "parameters": {"direction": "right"}}

active_application: Searching

screen_description: windows {
  bounds_in_screen {
    right: 1080
    bottom: 136
  }
  layer: 1
  window_type: TYPE_SYSTEM
  tree {
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        right: 1080
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 145
        right: 1027
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 575
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 575
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 417
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 417
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 145
        top: 1
        right: 243
        bottom: 136
      }
      class_name: "android.widget.TextView"
      content_description: "10:36 AM"
      text: "10:36"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 243
        top: 1
        right: 417
        bottom: 136
      }
      class_name: "android.widget.FrameLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 1
        right: 986
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 1
        right: 1006
        bottom: 136
      }
      class_name: "android.widget.LinearLayout"
      content_description: "Battery charging, 100 percent."
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 243
        top: 1
        right: 417
        bottom: 136
      }
      class_name: "android.view.ViewGroup"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 924
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.FrameLayout"
      content_description: "Wifi two bars."
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 986
        top: 51
        right: 1006
        bottom: 85
      }
      class_name: "android.widget.ImageView"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 243
        top: 1
        right: 301
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "TeraBox notification: "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 301
        top: 1
        right: 359
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "OYO notification: Guest, salary coming soon!￼"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 359
        top: 1
        right: 417
        bottom: 136
      }
      class_name: "android.widget.ImageView"
      content_description: "99acres notification: Planning to invest in a developing locality? 🤑 "
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 39
        right: 970
        bottom: 97
      }
      class_name: "android.widget.LinearLayout"
      depth: 9
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 48
        right: 970
        bottom: 87
      }
      class_name: "android.widget.FrameLayout"
      depth: 10
    }
    nodes {
      bounds_in_screen {
        left: 931
        top: 48
        right: 970
        bottom: 87
      }
      class_name: "android.widget.ImageView"
      depth: 11
    }
  }
}
windows {
  bounds_in_screen {
    left: 28
    top: 1025
    right: 1052
    bottom: 1447
  }
  id: 717
  title: "Searching"
  window_type: TYPE_APPLICATION
  is_active: true
  is_focused: true
  tree {
    nodes {
      bounds_in_screen {
        left: 28
        top: 1025
        right: 1052
        bottom: 1447
      }
      class_name: "android.widget.FrameLayout"
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 1067
        right: 1010
        bottom: 1405
      }
      class_name: "android.widget.FrameLayout"
      depth: 1
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 1067
        right: 1010
        bottom: 1405
      }
      class_name: "android.widget.FrameLayout"
      depth: 2
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 1067
        right: 1010
        bottom: 1405
      }
      class_name: "android.widget.LinearLayout"
      depth: 3
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 1067
        right: 1010
        bottom: 1185
      }
      class_name: "android.widget.LinearLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 1185
        right: 1010
        bottom: 1405
      }
      class_name: "android.widget.FrameLayout"
      depth: 4
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 1067
        right: 1010
        bottom: 1185
      }
      class_name: "android.widget.LinearLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 1185
        right: 1010
        bottom: 1405
      }
      class_name: "android.widget.FrameLayout"
      depth: 5
    }
    nodes {
      bounds_in_screen {
        left: 133
        top: 1114
        right: 947
        bottom: 1185
      }
      class_name: "android.widget.TextView"
      text: "Searching"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 1185
        right: 1010
        bottom: 1405
      }
      class_name: "android.widget.FrameLayout"
      depth: 6
    }
    nodes {
      bounds_in_screen {
        left: 70
        top: 1185
        right: 1010
        bottom: 1405
      }
      class_name: "android.widget.LinearLayout"
      depth: 7
    }
    nodes {
      bounds_in_screen {
        left: 133
        top: 1232
        right: 259
        bottom: 1358
      }
      class_name: "android.widget.ProgressBar"
      depth: 8
    }
    nodes {
      bounds_in_screen {
        left: 322
        top: 1269
        right: 947
        bottom: 1320
      }
      class_name: "android.widget.TextView"
      text: "Please wait..."
      depth: 8
    }
  }
}


assistant: !FUNCTIONCALL{"name": "wait", "parameters": {}}