Class ComputerUseTool

java.lang.Object
com.google.adk.tools.BaseTool
com.google.adk.tools.FunctionTool
com.google.adk.tools.computeruse.ComputerUseTool

public class ComputerUseTool extends FunctionTool
A tool that wraps computer control functions for use with LLMs.

This tool automatically normalizes coordinates from a virtual coordinate space (by default 1000x1000) to the actual screen size.

  • Constructor Details

    • ComputerUseTool

      public ComputerUseTool(Object instance, Method func, int[] screenSize, int[] virtualScreenSize)
  • Method Details