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

Copy Markdown View Source

Allowed tools configuration ({mode, tools}).

Summary

Types

t()

@type t() :: %Gemini.Types.Interactions.AllowedTools{
  mode: Gemini.Types.Interactions.ToolChoiceType.t() | nil,
  tools: [String.t()] | nil
}

Functions

from_api(allowed)

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

to_api(map)

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