Class: ClaudeAgentSDK::ElicitationHookInput
- Inherits:
-
BaseHookInput
- Object
- 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.
-
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
-
#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, #permission_mode, #session_id, #transcript_path
Instance Method Summary collapse
-
#initialize(hook_event_name: 'Elicitation', mcp_server_name: nil, message: nil, mode: nil, url: nil, elicitation_id: nil, requested_schema: nil, **base_args) ⇒ ElicitationHookInput
constructor
A new instance of ElicitationHookInput.
Constructor Details
#initialize(hook_event_name: 'Elicitation', mcp_server_name: nil, message: nil, mode: nil, url: nil, elicitation_id: nil, requested_schema: nil, **base_args) ⇒ ElicitationHookInput
Returns a new instance of ElicitationHookInput.
1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 |
# File 'lib/claude_agent_sdk/types.rb', line 1053 def initialize(hook_event_name: 'Elicitation', mcp_server_name: nil, message: nil, mode: nil, url: nil, elicitation_id: nil, requested_schema: nil, **base_args) super(**base_args) @hook_event_name = hook_event_name @mcp_server_name = mcp_server_name @message = @mode = mode @url = url @elicitation_id = elicitation_id @requested_schema = requested_schema end |
Instance Attribute Details
#elicitation_id ⇒ Object
Returns the value of attribute elicitation_id.
1050 1051 1052 |
# File 'lib/claude_agent_sdk/types.rb', line 1050 def elicitation_id @elicitation_id end |
#hook_event_name ⇒ Object
Returns the value of attribute hook_event_name.
1050 1051 1052 |
# File 'lib/claude_agent_sdk/types.rb', line 1050 def hook_event_name @hook_event_name end |
#mcp_server_name ⇒ Object
Returns the value of attribute mcp_server_name.
1050 1051 1052 |
# File 'lib/claude_agent_sdk/types.rb', line 1050 def mcp_server_name @mcp_server_name end |
#message ⇒ Object
Returns the value of attribute message.
1050 1051 1052 |
# File 'lib/claude_agent_sdk/types.rb', line 1050 def @message end |
#mode ⇒ Object
Returns the value of attribute mode.
1050 1051 1052 |
# File 'lib/claude_agent_sdk/types.rb', line 1050 def mode @mode end |
#requested_schema ⇒ Object
Returns the value of attribute requested_schema.
1050 1051 1052 |
# File 'lib/claude_agent_sdk/types.rb', line 1050 def requested_schema @requested_schema end |
#url ⇒ Object
Returns the value of attribute url.
1050 1051 1052 |
# File 'lib/claude_agent_sdk/types.rb', line 1050 def url @url end |