Computer tools

Every tool in this family, exactly as the hosted server registers it. Arguments are the tool’s own parameter names; optional ones are still listed, because the description says what they change.

ToolArgumentsDescription
computer_accessibility_treecomputer_idGet the AT-SPI accessibility tree for the current desktop state.
computer_bashcomputer_id, command, timeoutExecute a bash command on the computer and return stdout + stderr.
computer_checkpoint_createcomputer_id, commentSave the current state of the computer as a checkpoint (snapshot).
computer_checkpoint_deletecomputer_id, checkpoint_idDelete a saved checkpoint.
computer_checkpoint_listcomputer_idList all saved checkpoints for the computer.
computer_checkpoint_restorecomputer_id, checkpoint_idRestore the computer to a previously saved checkpoint.
computer_clickcomputer_id, x, y, buttonClick a mouse button at the given screen coordinates.
computer_close_windowcomputer_id, window_idClose a window.
computer_copy_filecomputer_id, source, dest, recursiveCopy a file or directory tree inside the computer.
computer_createname, template_type, size, workspace_id, external_workspace_id, external_project_idCreate a new MIOSA computer and wait until it is active.
computer_delete_filecomputer_id, pathDelete a file or directory inside the computer.
computer_destroycomputer_idPermanently destroy a computer.
computer_domain_addcomputer_id, fqdnAdd a custom domain to the computer. Returns CNAME verification
computer_domain_deletecomputer_id, domain_idDelete a custom domain mapping from the computer.
computer_domain_listcomputer_idList all custom domains registered for the computer.
computer_double_clickcomputer_id, x, yDouble-click at the given screen coordinates.
computer_dragcomputer_id, from_x, from_y, to_x, to_yClick-and-drag from one screen position to another.
computer_env_deletecomputer_id, nameDelete an environment variable from the computer.
computer_env_listcomputer_idList all environment variables set on the computer.
computer_env_setcomputer_id, name, valueSet (create or update) an environment variable on the computer.
computer_expose_portcomputer_id, port, protocolExpose a port on the computer and return the public URL.
computer_focus_windowcomputer_id, window_idBring a window to the foreground by its window ID.
computer_getcomputer_idGet details and current status of a computer.
computer_get_clipboardcomputer_idRead the current clipboard text content.
computer_get_cursor_positioncomputer_idGet the current mouse cursor position (x, y).
computer_get_desktop_envcomputer_idGet desktop environment info (name, resolution, session type).
computer_get_screen_sizecomputer_idGet the screen resolution (width and height in pixels).
computer_hotkeycomputer_id, keys, itemsPress a keyboard shortcut (multiple keys simultaneously).
computer_keycomputer_id, keyPress a single key. Use standard key names:
computer_key_downcomputer_id, keyPress and hold a key without releasing it. Pair with computer_key_up.
computer_key_upcomputer_id, keyRelease a previously held key.
computer_launchcomputer_id, appLaunch an application by name (e.g. ‘firefox’, ‘gedit’, ‘xterm’).
computer_list-List all computers in the tenant.
computer_list_filescomputer_id, pathList directory contents on the computer.
computer_list_portscomputer_idList all currently exposed ports on the computer.
computer_list_regions-List available compute regions with GPU availability details.
computer_logscomputer_id, linesGet recent VM-level logs from the computer.
computer_maximize_windowcomputer_id, window_idMaximize a window.
computer_minimize_windowcomputer_id, window_idMinimize (iconify) a window.
computer_mkdircomputer_id, path, recursiveCreate a directory (and any missing parents) inside the computer.
computer_mouse_downcomputer_id, x, y, buttonPress and hold a mouse button at (x, y). Pair with computer_mouse_up to release.
computer_mouse_upcomputer_id, x, y, buttonRelease a held mouse button at (x, y).
computer_move_cursorcomputer_id, x, yMove the mouse cursor to the given coordinates without clicking.
computer_network_policy_getcomputer_idGet the current network policy (firewall rules) for the computer.
computer_network_policy_resetcomputer_idReset the network policy for the computer to the platform default (allow all).
computer_network_policy_setcomputer_id, rules, items, default_effectSet the network policy (firewall rules) for the computer.
computer_preview_urlcomputer_id, portReturn the public preview URL for a given port on the computer.
computer_read_filecomputer_id, pathRead a file from inside the computer and return its content as text.
computer_rename_filecomputer_id, source, destRename or move a file/directory inside the computer.
computer_restartcomputer_idRestart a computer.
computer_right_clickcomputer_id, x, yRight-click at the given screen coordinates.
computer_rotate_viewer_passwordcomputer_idRotate and return the raw external desktop viewer password once for sharing a raw *.computer.miosa.ai link.
computer_screenshotcomputer_idCapture a PNG screenshot of the computer desktop.
computer_scrollcomputer_id, direction, clicks, x, yScroll in a direction on the desktop.
computer_service_createcomputer_id, name, command, working_dir, port, restart_policyCreate and start a long-running background service on the computer
computer_service_deletecomputer_id, service_idDelete a background service (stops it first if running).
computer_service_listcomputer_idList all background services registered on the computer.
computer_service_logscomputer_id, service_idRetrieve recent log output from a background service (last 100 lines).
computer_service_restartcomputer_id, service_idRestart a background service (stop then start).
computer_service_startcomputer_id, service_idStart a stopped background service.
computer_service_stopcomputer_id, service_idStop a running background service (sends SIGTERM).
computer_set_clipboardcomputer_id, textSet the clipboard text content.
computer_set_wallpapercomputer_id, pathSet the desktop wallpaper. Accepts an absolute path inside
computer_set_window_positioncomputer_id, window_id, x, yMove a window to the given screen coordinates.
computer_set_window_sizecomputer_id, window_id, width, heightResize a window to the given width and height in pixels.
computer_startcomputer_idStart a stopped computer.
computer_stat_filecomputer_id, pathGet file/directory metadata (size, type, permissions, mtime) inside the computer.
computer_stopcomputer_idStop a running computer.
computer_template_createworkspace_id, name, template_type, size, selected_apps, itemsCreate a new computer template in a workspace.
computer_template_listworkspace_idList computer templates available in a workspace.
computer_typecomputer_id, textType text into the currently focused field.
computer_updatecomputer_id, name, metadataRename a computer or update its metadata.
computer_upload_filecomputer_id, local_path, remote_pathUpload a local file from the host machine into the computer at a given path.
computer_viewer_passwordcomputer_idShow whether the raw external desktop viewer password is set. Authenticated platform desktop links do not need this password.
computer_waitcomputer_id, secondsPause execution inside the computer for N seconds.
computer_windowscomputer_idList all open windows on the desktop with their IDs, titles, and positions.
computer_write_filecomputer_id, path, contentWrite text content to a file path inside the computer.
Was this page helpful?