# `Gemini.Types.Live.ToolCallCancellation`
[🔗](https://github.com/nshkrdotcom/gemini_ex/blob/v0.15.0/lib/gemini/types/live/tool_call_cancellation.ex#L1)

Tool call cancellation notification from the server.

Notification that previously issued tool calls with the specified IDs
should be cancelled. This occurs when clients interrupt server turns.

If there were side-effects to those tool calls, clients may attempt
to undo them.

## Fields

- `ids` - List of tool call IDs to be cancelled

## Example

    %ToolCallCancellation{ids: ["call_123", "call_456"]}

# `t`

```elixir
@type t() :: %Gemini.Types.Live.ToolCallCancellation{ids: [String.t()] | nil}
```

# `from_api`

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

Parses from API response.

# `new`

```elixir
@spec new(keyword()) :: t()
```

Creates a new ToolCallCancellation.

# `to_api`

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

Converts to API format (camelCase).

---

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