Gemini.Types.Interactions.ComputerUse (GeminiEx v0.11.0)

Copy Markdown View Source

computer_use tool declaration.

Note: API key uses camelCase excludedPredefinedFunctions.

Summary

Types

environment()

@type environment() :: String.t()

t()

@type t() :: %Gemini.Types.Interactions.ComputerUse{
  environment: environment() | nil,
  excluded_predefined_functions: [String.t()] | nil,
  type: String.t()
}

Functions

from_api(tool)

@spec from_api(map() | nil) :: t() | nil

to_api(map)

@spec to_api(t() | map() | nil) :: map() | nil