dragTo¶
Drag an element to another element or to a point, in one continuous press-move-release gesture. Use the short hash refs from the snapshot (e.g. y778 from [y778]). Provide the source ref, then EITHER toRef (drag onto another element) OR toX/toY (drag to a screen point). Use for reordering list items, moving a card onto a target, dragging a slider/handle to a position, or repositioning a pin. Optional durationMs paces the drag (default 1000ms — slow and deliberate so it registers as a drag, not a flick).
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—StringThe source element ref to drag (e.g., ‘y778’)
Optional parameters¶
toRef—StringTarget element ref to drag onto. Provide this OR toX/toY.toX—IntegerTarget X coordinate to drag to. Provide toX and toY together, OR use toRef.toY—IntegerTarget Y coordinate to drag to. Provide toX and toY together, OR use toRef.durationMs—IntegerHow long the drag takes end-to-end, in ms. Default 1000 (deliberate drag).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.