Skip to content

swipe

Swipe the screen in the specified direction to navigate long lists or pages. Start and end points are calculated automatically from the direction and screen dimensions.

Source

  • Kind: class-backed
  • Class: xyz.block.trailblaze.toolcalls.commands.SwipeTrailblazeTool

Contract

  • Visible to LLM: yes (surface_to_llm: true)
  • Recordable: yes (is_recordable: true)
  • Host-only: no (requires_host: false)

Input schema

Optional parameters

  • directionToolParameterType.Enum( entries = [UP, DOWN, RIGHT, LEFT] ) The direction of the finger swipe gesture (not the scroll direction). To see more content BELOW (scroll down), use ‘UP’ (finger swipes upward). To see more content ABOVE (scroll up), use ‘DOWN’ (finger swipes downward). Default is ‘DOWN’.
  • swipeOnElementTextString The text value to swipe on. If not provided, the swipe will be performed on the center of the screen.
  • reasoningString

Output

Returns: string (opaque text content)

Typed result schemas (kind: query | action, MCP structuredContent) are not yet carried by the resolved manifest — this section will gain detail when that lands.