Skip to content

Swipe

Tool swipe

Description

Swipes the screen in the specified direction. This is useful for navigating through long lists or pages. The start and end points are automatically calculated based on the direction and screen dimensions.

Command Class

xyz.block.trailblaze.toolcalls.commands.SwipeTrailblazeTool

Registered SwipeTrailblazeTool in ToolRegistry

Required Parameters

  • direction: String Valid values: UP, DOWN, LEFT, RIGHT

Optional Parameters

  • swipeOnElementText: String The text value to swipe on. If not provided, the swipe will be performed on the center of the screen.

NOTE: THIS IS GENERATED DOCUMENTATION