GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — ComputerUseToolOptions | ADK for TypeScript: API Reference - v2.5.0

  • ComputerUseToolOptions

Interface ComputerUseToolOptions

The options for creating a ComputerUseTool.

interface ComputerUseToolOptions {
    description: string;
    execute: ComputerUseFunction;
    name: string;
    parameters?: Schema;
    screenSize: readonly [number, number];
    virtualScreenSize?: readonly [number, number];
}
  • Defined in core/src/tools/computer_use/computer_use_tool.ts:44

Properties

description

description: string

The description of the action.

  • Defined in core/src/tools/computer_use/computer_use_tool.ts:48

execute

execute: ComputerUseFunction

The computer control function to wrap.

  • Defined in core/src/tools/computer_use/computer_use_tool.ts:52

name

name: string

The name of the computer use action, such as click_at.

  • Defined in core/src/tools/computer_use/computer_use_tool.ts:46

Optionalparameters

parameters?: Schema

The schema of the action's arguments.

  • Defined in core/src/tools/computer_use/computer_use_tool.ts:50

screenSize

screenSize: readonly [number, number]

The actual screen size as (width, height) in pixels. This represents the real dimensions of the target screen.

  • Defined in core/src/tools/computer_use/computer_use_tool.ts:57

OptionalvirtualScreenSize

virtualScreenSize?: readonly [number, number]

The virtual coordinate space as (width, height) that the model uses to specify coordinates. Coordinates from the model are scaled from this space to screenSize. Defaults to (1000, 1000), so the model works with a 1000x1000 screen regardless of the actual screen dimensions.

  • Defined in core/src/tools/computer_use/computer_use_tool.ts:64
Properties
descriptionexecutenameparametersscreenSizevirtualScreenSize
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.