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.



838
839
840
841
# File 'lib/claude_agent_sdk/types.rb', line 838

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.



835
836
837
# File 'lib/claude_agent_sdk/types.rb', line 835

def elicitation_id
  @elicitation_id
end

#mcp_server_nameObject

Returns the value of attribute mcp_server_name.



835
836
837
# File 'lib/claude_agent_sdk/types.rb', line 835

def mcp_server_name
  @mcp_server_name
end

#messageObject

Returns the value of attribute message.



835
836
837
# File 'lib/claude_agent_sdk/types.rb', line 835

def message
  @message
end

#modeObject

Returns the value of attribute mode.



835
836
837
# File 'lib/claude_agent_sdk/types.rb', line 835

def mode
  @mode
end

#requested_schemaObject

Returns the value of attribute requested_schema.



835
836
837
# File 'lib/claude_agent_sdk/types.rb', line 835

def requested_schema
  @requested_schema
end

#urlObject

Returns the value of attribute url.



835
836
837
# File 'lib/claude_agent_sdk/types.rb', line 835

def url
  @url
end