Class: ClaudeAgentSDK::ToolUseBlock

Inherits:
Type
  • Object
show all
Defined in:
lib/claude_agent_sdk/types.rb

Overview

Tool use content block

Instance Attribute Summary collapse

Method Summary

Methods inherited from Type

#[], #[]=, from_hash, #initialize, #to_h, wrap

Constructor Details

This class inherits a constructor from ClaudeAgentSDK::Type

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type

Instance Attribute Details

#idObject

Returns the value of attribute id.



175
176
177
# File 'lib/claude_agent_sdk/types.rb', line 175

def id
  @id
end

#inputObject

Returns the value of attribute input.



175
176
177
# File 'lib/claude_agent_sdk/types.rb', line 175

def input
  @input
end

#nameObject

Returns the value of attribute name.



175
176
177
# File 'lib/claude_agent_sdk/types.rb', line 175

def name
  @name
end