Skip to main content
Use Scroll when target content is outside the current viewport.
The Computer Use agent calls scroll as part of its background loop. See agent tools for window targeting and Background Computer Use for non-blocking runs.

What it does

  • Scrolls in the frontmost app window (or a specific background window when windowID is set).
  • Supports direction: up, down, left, right.
  • Runs for a timed duration in milliseconds.

Inputs

  • milliseconds (optional): Duration to scroll in milliseconds (default 3000, max 3600000).
  • direction (optional): up, down, left, or right (default down).
  • windowID (optional): Target a specific window (pid/title or stable pid/windowNumber from list_windows).

Typical use

  • Bring hidden elements into view before calling Perform.
  • Continue page traversal before re-reading with Get Active App Context.

Good pairing