@@ -344,7 +344,7 @@ def computer(
344344 session_id : str ,
345345 * ,
346346 action : Literal ["click_mouse" ],
347- button : Literal ["left" , "right" , "middle" , "back" , "forward" ],
347+ button : Literal ["left" , "right" , "middle" , "back" , "forward" ] | Omit = omit ,
348348 click_type : Literal ["down" , "up" , "click" ] | Omit = omit ,
349349 coordinates : Iterable [float ] | Omit = omit ,
350350 hold_keys : SequenceNotStr [str ] | Omit = omit ,
@@ -361,7 +361,7 @@ def computer(
361361 Execute computer actions like mouse movements, clicks, keyboard input, and more
362362
363363 Args:
364- button: Mouse button to click
364+ button: Mouse button to click. Defaults to 'left'
365365
366366 click_type: Type of click (down, up, or click). Defaults to 'click'
367367
@@ -622,9 +622,8 @@ def computer(
622622
623623 @required_args (
624624 ["action" , "coordinates" ],
625- ["action" , "button" ],
626- ["action" , "path" ],
627625 ["action" ],
626+ ["action" , "path" ],
628627 ["action" , "keys" ],
629628 ["action" , "text" ],
630629 ["action" , "duration" ],
@@ -1157,7 +1156,7 @@ async def computer(
11571156 session_id : str ,
11581157 * ,
11591158 action : Literal ["click_mouse" ],
1160- button : Literal ["left" , "right" , "middle" , "back" , "forward" ],
1159+ button : Literal ["left" , "right" , "middle" , "back" , "forward" ] | Omit = omit ,
11611160 click_type : Literal ["down" , "up" , "click" ] | Omit = omit ,
11621161 coordinates : Iterable [float ] | Omit = omit ,
11631162 hold_keys : SequenceNotStr [str ] | Omit = omit ,
@@ -1174,7 +1173,7 @@ async def computer(
11741173 Execute computer actions like mouse movements, clicks, keyboard input, and more
11751174
11761175 Args:
1177- button: Mouse button to click
1176+ button: Mouse button to click. Defaults to 'left'
11781177
11791178 click_type: Type of click (down, up, or click). Defaults to 'click'
11801179
@@ -1435,9 +1434,8 @@ async def computer(
14351434
14361435 @required_args (
14371436 ["action" , "coordinates" ],
1438- ["action" , "button" ],
1439- ["action" , "path" ],
14401437 ["action" ],
1438+ ["action" , "path" ],
14411439 ["action" , "keys" ],
14421440 ["action" , "text" ],
14431441 ["action" , "duration" ],
0 commit comments