Class: ClaudeCode::ToolUseBlock
- Inherits:
-
Object
- Object
- ClaudeCode::ToolUseBlock
- Defined in:
- lib/claude_code/types.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#input ⇒ Object
readonly
Returns the value of attribute input.
-
#name ⇒ Object
readonly
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.
19 20 21 22 23 |
# File 'lib/claude_code/types.rb', line 19 def initialize(id:, name:, input:) @id = id @name = name @input = input end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
17 18 19 |
# File 'lib/claude_code/types.rb', line 17 def id @id end |
#input ⇒ Object (readonly)
Returns the value of attribute input.
17 18 19 |
# File 'lib/claude_code/types.rb', line 17 def input @input end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
17 18 19 |
# File 'lib/claude_code/types.rb', line 17 def name @name end |