Learn how to control a computer programmatically inside a Runloop Devbox using the Runloop SDK
Set Up Your Environment
Install and Initialize the Runloop SDK
client
object allows interaction with the Runloop API.Create a Devbox and Start the Computer Tool
Interacting with the Computer
key
, type
mouse_move
, left_click
, left_click_drag
, right_click
, middle_click
, double_click
screenshot
, cursor_position
Using API Tools with the Computer Tool
Properly Freeing Resources