effect-io-ai

Package: @effect/ai-anthropic
Module: AnthropicTool

AnthropicTool.ComputerUseHoldKeyAction

Computer-use action payload for holding a key for a specified duration.

When to use

Use to represent a key that should remain pressed for a measured interval.

Details

Set action to "hold_key", text to the key to hold, and duration to the number of seconds to hold it.

See

Signature

type ComputerUseHoldKeyAction = typeof ComputerUseHoldKeyAction.Type

Source

Since v4.0.0