Class: ClaudeAgentSDK::DeferredToolUse
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Deferred tool use, emitted on ‘ResultMessage` when a PreToolUse hook returned `permissionDecision: “defer”`. The session can be resumed later to execute the deferred call. Mirrors Python’s ‘DeferredToolUse`.
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.
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
#id ⇒ Object
Returns the value of attribute id.
206 207 208 |
# File 'lib/claude_agent_sdk/types.rb', line 206 def id @id end |
#input ⇒ Object
Returns the value of attribute input.
206 207 208 |
# File 'lib/claude_agent_sdk/types.rb', line 206 def input @input end |
#name ⇒ Object
Returns the value of attribute name.
206 207 208 |
# File 'lib/claude_agent_sdk/types.rb', line 206 def name @name end |