UNPKG

@gacua/backend

Version:

GACUA Backend

36 lines (35 loc) 1.1 kB
/** * @license * Copyright 2025 MuleRun * SPDX-License-Identifier: Apache-2.0 */ import { type GroundedToolCall, BaseGroundableTool } from './groundable-tool.js'; export interface ComputerKeyArgs { keys: string[]; hold_duration?: number; } export declare class ComputerKey extends BaseGroundableTool<ComputerKeyArgs> { readonly functionDeclaration: { name: string; parametersJsonSchema: { properties: { keys: { description: string; type: string; items: { description: string; type: string; }; }; hold_duration: { description: string; type: string; minimum: number; }; }; required: string[]; type: string; }; }; ground(args: ComputerKeyArgs, _screenshot: unknown, _croppedScreenshotParts: unknown, _detectElement: unknown): Promise<GroundedToolCall>; }