Class: ClaudeAgentSDK::ElicitationHookInput

Inherits:
BaseHookInput show all
Defined in:
lib/claude_agent_sdk/types.rb

Overview

Elicitation hook input

Instance Attribute Summary collapse

Attributes inherited from BaseHookInput

#cwd, #hook_event_name, #permission_mode, #session_id, #transcript_path

Instance Method Summary collapse

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_idObject

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_nameObject

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

#messageObject

Returns the value of attribute message.



801
802
803
# File 'lib/claude_agent_sdk/types.rb', line 801

def message
  @message
end

#modeObject

Returns the value of attribute mode.



801
802
803
# File 'lib/claude_agent_sdk/types.rb', line 801

def mode
  @mode
end

#requested_schemaObject

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

#urlObject

Returns the value of attribute url.



801
802
803
# File 'lib/claude_agent_sdk/types.rb', line 801

def url
  @url
end