Execute a computer action
Computer Action
Execute computer actions in the virtual desktop environment
POST
Execute a computer action
Execute actions like mouse movements, clicks, keyboard input, and screenshots in the Bytebot desktop environment.
Example Request
Example RequestAvailable Applications:
Request
string
required
The type of computer action to perform. Must be one of:
move_mouse, trace_mouse,
click_mouse, press_mouse, drag_mouse, scroll, type_keys, press_keys,
type_text, wait, screenshot, cursor_position.Mouse Actions
move_mouse
move_mouse
trace_mouse
trace_mouse
click_mouse
click_mouse
press_mouse
press_mouse
drag_mouse
drag_mouse
scroll
scroll
Keyboard Actions
type_keys
type_keys
press_keys
press_keys
type_text
type_text
paste_text
paste_text
string
required
The text to paste. Useful for special characters that aren’t on the standard keyboard.
System Actions
wait
wait
screenshot
screenshot
No parameters required.Example Request
cursor_position
cursor_position
No parameters required.Example Request
application
application
string
required
The application to switch to. Available options:
firefox, 1password, thunderbird, vscode, terminal, desktop, directory.firefox- Mozilla Firefox web browser1password- Password managerthunderbird- Email clientvscode- Visual Studio Code editorterminal- Terminal/console applicationdesktop- Switch to desktopdirectory- File manager/directory browser