Class: ClaudeAgentSDK::ElicitationHookInput
- Inherits:
-
BaseHookInput
- Object
- Type
- BaseHookInput
- ClaudeAgentSDK::ElicitationHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Elicitation hook input
Instance Attribute Summary collapse
-
#elicitation_id ⇒ Object
Returns the value of attribute elicitation_id.
-
#mcp_server_name ⇒ Object
Returns the value of attribute mcp_server_name.
-
#message ⇒ Object
Returns the value of attribute message.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#requested_schema ⇒ Object
Returns the value of attribute requested_schema.
-
#url ⇒ Object
Returns the value of attribute url.
Attributes inherited from BaseHookInput
#cwd, #hook_event_name, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ ElicitationHookInput
constructor
A new instance of ElicitationHookInput.
Methods inherited from Type
#[], #[]=, from_hash, #to_h, wrap
Constructor Details
#initialize(attributes = {}) ⇒ ElicitationHookInput
Returns a new instance of ElicitationHookInput.
804 805 806 807 |
# File 'lib/claude_agent_sdk/types.rb', line 804 def initialize(attributes = {}) super @hook_event_name = 'Elicitation' end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#elicitation_id ⇒ Object
Returns the value of attribute elicitation_id.
801 802 803 |
# File 'lib/claude_agent_sdk/types.rb', line 801 def elicitation_id @elicitation_id end |
#mcp_server_name ⇒ Object
Returns the value of attribute mcp_server_name.
801 802 803 |
# File 'lib/claude_agent_sdk/types.rb', line 801 def mcp_server_name @mcp_server_name end |
#message ⇒ Object
Returns the value of attribute message.
801 802 803 |
# File 'lib/claude_agent_sdk/types.rb', line 801 def @message end |
#mode ⇒ Object
Returns the value of attribute mode.
801 802 803 |
# File 'lib/claude_agent_sdk/types.rb', line 801 def mode @mode end |
#requested_schema ⇒ Object
Returns the value of attribute requested_schema.
801 802 803 |
# File 'lib/claude_agent_sdk/types.rb', line 801 def requested_schema @requested_schema end |
#url ⇒ Object
Returns the value of attribute url.
801 802 803 |
# File 'lib/claude_agent_sdk/types.rb', line 801 def url @url end |