# `Gemini.Types.FunctionResponse`
[🔗](https://github.com/nshkrdotcom/gemini_ex/blob/v0.13.0/lib/gemini/types/common/function_response.ex#L1)

Result output of a function call.

# `scheduling`
[🔗](https://github.com/nshkrdotcom/gemini_ex/blob/v0.13.0/lib/gemini/types/common/function_response.ex#L8)

```elixir
@type scheduling() :: :scheduling_unspecified | :silent | :when_idle | :interrupt
```

# `t`
[🔗](https://github.com/nshkrdotcom/gemini_ex/blob/v0.13.0/lib/gemini/types/common/function_response.ex#L11)

```elixir
@type t() :: %Gemini.Types.FunctionResponse{
  id: String.t() | nil,
  name: String.t(),
  response: map(),
  scheduling: scheduling() | nil,
  will_continue: boolean() | nil
}
```

# `from_api`
[🔗](https://github.com/nshkrdotcom/gemini_ex/blob/v0.13.0/lib/gemini/types/common/function_response.ex#L23)

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

Parse function response from API payload.

# `to_api`
[🔗](https://github.com/nshkrdotcom/gemini_ex/blob/v0.13.0/lib/gemini/types/common/function_response.ex#L39)

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

Convert function response to API camelCase map.

---

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