Represents a tool/function call.
Create a tool call from a map.
Convert a tool call to a map.
@type t() :: %MistralClient.Models.ToolCall{ function: ToolCallFunction.t(), id: String.t(), type: String.t() }
@spec from_map(map()) :: t()
@spec to_map(t()) :: map()