{
  "name": "browser_drag",
  "description": "Perform a drag and drop operation. Drags from a source element to a target element or coordinates.",
  "arguments": {
    "type": "object",
    "properties": {
      "sourceRef": {
        "type": "string",
        "description": "Reference of the element to drag from"
      },
      "targetRef": {
        "type": "string",
        "description": "Reference of the element to drop onto"
      },
      "targetX": {
        "type": "number",
        "description": "X coordinate to drop at (relative to viewport). Use with targetY instead of targetRef for coordinate-based drops."
      },
      "targetY": {
        "type": "number",
        "description": "Y coordinate to drop at (relative to viewport). Use with targetX instead of targetRef for coordinate-based drops."
      },
      "viewId": {
        "type": "string",
        "description": "Target browser tab ID. If omitted, uses the last interacted tab."
      }
    },
    "required": [
      "sourceRef"
    ]
  }
}