@@ -310,7 +310,9 @@ def move_mouse(
310310 * ,
311311 x : int ,
312312 y : int ,
313+ duration_ms : int | Omit = omit ,
313314 hold_keys : SequenceNotStr [str ] | Omit = omit ,
315+ smooth : bool | Omit = omit ,
314316 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
315317 # The extra values given here take precedence over values defined on the client or passed to this method.
316318 extra_headers : Headers | None = None ,
@@ -326,8 +328,13 @@ def move_mouse(
326328
327329 y: Y coordinate to move the cursor to
328330
331+ duration_ms: Target total duration in milliseconds for the mouse movement when smooth=true.
332+ Omit for automatic timing based on distance.
333+
329334 hold_keys: Modifier keys to hold during the move
330335
336+ smooth: Use human-like Bezier curve path instead of instant mouse movement.
337+
331338 extra_headers: Send extra headers
332339
333340 extra_query: Add additional query parameters to the request
@@ -345,7 +352,9 @@ def move_mouse(
345352 {
346353 "x" : x ,
347354 "y" : y ,
355+ "duration_ms" : duration_ms ,
348356 "hold_keys" : hold_keys ,
357+ "smooth" : smooth ,
349358 },
350359 computer_move_mouse_params .ComputerMoveMouseParams ,
351360 ),
@@ -892,7 +901,9 @@ async def move_mouse(
892901 * ,
893902 x : int ,
894903 y : int ,
904+ duration_ms : int | Omit = omit ,
895905 hold_keys : SequenceNotStr [str ] | Omit = omit ,
906+ smooth : bool | Omit = omit ,
896907 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
897908 # The extra values given here take precedence over values defined on the client or passed to this method.
898909 extra_headers : Headers | None = None ,
@@ -908,8 +919,13 @@ async def move_mouse(
908919
909920 y: Y coordinate to move the cursor to
910921
922+ duration_ms: Target total duration in milliseconds for the mouse movement when smooth=true.
923+ Omit for automatic timing based on distance.
924+
911925 hold_keys: Modifier keys to hold during the move
912926
927+ smooth: Use human-like Bezier curve path instead of instant mouse movement.
928+
913929 extra_headers: Send extra headers
914930
915931 extra_query: Add additional query parameters to the request
@@ -927,7 +943,9 @@ async def move_mouse(
927943 {
928944 "x" : x ,
929945 "y" : y ,
946+ "duration_ms" : duration_ms ,
930947 "hold_keys" : hold_keys ,
948+ "smooth" : smooth ,
931949 },
932950 computer_move_mouse_params .ComputerMoveMouseParams ,
933951 ),
0 commit comments