Class: ClaudeAgentSDK::ElicitationResultHookInput
- Inherits:
-
BaseHookInput
- Object
- BaseHookInput
- ClaudeAgentSDK::ElicitationResultHookInput
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
ElicitationResult hook input
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#content ⇒ Object
Returns the value of attribute content.
-
#elicitation_id ⇒ Object
Returns the value of attribute elicitation_id.
-
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
-
#mcp_server_name ⇒ Object
Returns the value of attribute mcp_server_name.
-
#mode ⇒ Object
Returns the value of attribute mode.
Attributes inherited from BaseHookInput
#cwd, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(hook_event_name: 'ElicitationResult', mcp_server_name: nil, elicitation_id: nil, mode: nil, action: nil, content: nil, **base_args) ⇒ ElicitationResultHookInput
constructor
A new instance of ElicitationResultHookInput.
Constructor Details
#initialize(hook_event_name: 'ElicitationResult', mcp_server_name: nil, elicitation_id: nil, mode: nil, action: nil, content: nil, **base_args) ⇒ ElicitationResultHookInput
Returns a new instance of ElicitationResultHookInput.
1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 |
# File 'lib/claude_agent_sdk/types.rb', line 1070 def initialize(hook_event_name: 'ElicitationResult', mcp_server_name: nil, elicitation_id: nil, mode: nil, action: nil, content: nil, **base_args) super(**base_args) @hook_event_name = hook_event_name @mcp_server_name = mcp_server_name @elicitation_id = elicitation_id @mode = mode @action = action @content = content end |
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
1068 1069 1070 |
# File 'lib/claude_agent_sdk/types.rb', line 1068 def action @action end |
#content ⇒ Object
Returns the value of attribute content.
1068 1069 1070 |
# File 'lib/claude_agent_sdk/types.rb', line 1068 def content @content end |
#elicitation_id ⇒ Object
Returns the value of attribute elicitation_id.
1068 1069 1070 |
# File 'lib/claude_agent_sdk/types.rb', line 1068 def elicitation_id @elicitation_id end |
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
1068 1069 1070 |
# File 'lib/claude_agent_sdk/types.rb', line 1068 def hook_event_name @hook_event_name end |
#mcp_server_name ⇒ Object
Returns the value of attribute mcp_server_name.
1068 1069 1070 |
# File 'lib/claude_agent_sdk/types.rb', line 1068 def mcp_server_name @mcp_server_name end |
#mode ⇒ Object
Returns the value of attribute mode.
1068 1069 1070 |
# File 'lib/claude_agent_sdk/types.rb', line 1068 def mode @mode end |