Package: @effect/ai-anthropic
Module: AnthropicTool
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
ComputerUseKeyAction for a single key press or key combination without a hold durationSignature
type ComputerUseHoldKeyAction = typeof ComputerUseHoldKeyAction.Type
Since v4.0.0