# `Gemini.Types.Interactions.AllowedTools`
[🔗](https://github.com/nshkrdotcom/gemini_ex/blob/v0.15.0/lib/gemini/types/interactions/tool.ex#L1)

Allowed tools configuration (`{mode, tools}`).

# `t`

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

# `from_api`

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

# `to_api`

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

---

*Consult [api-reference.md](api-reference.md) for complete listing*
