Class: ClaudeAgentSDK::ToolUseBlock
- Inherits:
-
Object
- Object
- ClaudeAgentSDK::ToolUseBlock
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Tool use content block
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#input ⇒ Object
Returns the value of attribute input.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(id:, name:, input:) ⇒ ToolUseBlock
constructor
A new instance of ToolUseBlock.
Constructor Details
#initialize(id:, name:, input:) ⇒ ToolUseBlock
Returns a new instance of ToolUseBlock.
29 30 31 32 33 |
# File 'lib/claude_agent_sdk/types.rb', line 29 def initialize(id:, name:, input:) @id = id @name = name @input = input end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
27 28 29 |
# File 'lib/claude_agent_sdk/types.rb', line 27 def id @id end |
#input ⇒ Object
Returns the value of attribute input.
27 28 29 |
# File 'lib/claude_agent_sdk/types.rb', line 27 def input @input end |
#name ⇒ Object
Returns the value of attribute name.
27 28 29 |
# File 'lib/claude_agent_sdk/types.rb', line 27 def name @name end |