Method: Anthropic::Models::ToolUseBlock#initialize

Defined in:
lib/anthropic/models/tool_use_block.rb

#initialize(id:, input:, name:, type: :tool_use) ⇒ void

Parameters:

  • id (String)
  • input (Object)
  • name (String)
  • type (Symbol, :tool_use) (defaults to: :tool_use)


# File 'lib/anthropic/models/tool_use_block.rb', line 40