Class: ClaudeAgentSDK::PostToolUseFailureHookInput
- Inherits:
-
BaseHookInput
- Object
- Type
- BaseHookInput
- ClaudeAgentSDK::PostToolUseFailureHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
PostToolUseFailure hook input
Instance Attribute Summary collapse
-
#agent_id ⇒ Object
Returns the value of attribute agent_id.
-
#agent_type ⇒ Object
Returns the value of attribute agent_type.
-
#error ⇒ Object
Returns the value of attribute error.
-
#is_interrupt ⇒ Object
Returns the value of attribute is_interrupt.
-
#tool_input ⇒ Object
Returns the value of attribute tool_input.
-
#tool_name ⇒ Object
Returns the value of attribute tool_name.
-
#tool_use_id ⇒ Object
Returns the value of attribute tool_use_id.
Attributes inherited from BaseHookInput
#cwd, #hook_event_name, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ PostToolUseFailureHookInput
constructor
A new instance of PostToolUseFailureHookInput.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ PostToolUseFailureHookInput
Returns a new instance of PostToolUseFailureHookInput.
633 634 635 636 |
# File 'lib/claude_agent_sdk/types.rb', line 633 def initialize(attributes = {}) super @hook_event_name = 'PostToolUseFailure' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#agent_id ⇒ Object
Returns the value of attribute agent_id.
630 631 632 |
# File 'lib/claude_agent_sdk/types.rb', line 630 def agent_id @agent_id end |
#agent_type ⇒ Object
Returns the value of attribute agent_type.
630 631 632 |
# File 'lib/claude_agent_sdk/types.rb', line 630 def agent_type @agent_type end |
#error ⇒ Object
Returns the value of attribute error.
630 631 632 |
# File 'lib/claude_agent_sdk/types.rb', line 630 def error @error end |
#is_interrupt ⇒ Object
Returns the value of attribute is_interrupt.
630 631 632 |
# File 'lib/claude_agent_sdk/types.rb', line 630 def is_interrupt @is_interrupt end |
#tool_input ⇒ Object
Returns the value of attribute tool_input.
630 631 632 |
# File 'lib/claude_agent_sdk/types.rb', line 630 def tool_input @tool_input end |
#tool_name ⇒ Object
Returns the value of attribute tool_name.
630 631 632 |
# File 'lib/claude_agent_sdk/types.rb', line 630 def tool_name @tool_name end |
#tool_use_id ⇒ Object
Returns the value of attribute tool_use_id.
630 631 632 |
# File 'lib/claude_agent_sdk/types.rb', line 630 def tool_use_id @tool_use_id end |