dragTo¶
Drag an element by snapshot ref onto another element (toRef) or to a point (toX/toY), in one continuous press-move-release gesture. Use to reorder items, move a card, or drag a slider.
Source¶
- Kind: class-backed
- Class:
xyz.block.trailblaze.toolcalls.commands.DragToTrailblazeTool
Contract¶
- Visible to LLM: yes (
surface_to_llm: true) - Recordable: no (
is_recordable: false) - Host-only: no (
requires_host: false)
Input schema¶
Required parameters¶
ref—StringRef of the element to drag, e.g. ‘y778’.
Optional parameters¶
toRef—StringRef of the element to drop onto.toX—IntegerTarget X coordinate; set with toY.toY—IntegerTarget Y coordinate; set with toX.durationMs—IntegerDrag duration in ms. Default 1000, slow enough to register as a drag, not a flick.reasoning—String
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.