Current section
Files
Jump to
Current section
Files
lib/anthropic/messages/content/tool_use.ex
defmodule Anthropic.Messages.Content.ToolUse do
@moduledoc "A tool invocation requested by the assistant, as a native `tool_use` content block."
defstruct [:id, :name, :input, :cache_control]
@type t :: %__MODULE__{
id: String.t(),
name: String.t(),
input: map(),
cache_control: map() | nil
}
end