Class: ClaudeAgentSDK::LocalCommandOutputMessage

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

Overview

Local command output system message

Instance Attribute Summary collapse

Attributes inherited from SystemMessage

#data, #subtype

Instance Method Summary collapse

Constructor Details

#initialize(subtype:, data:, uuid: nil, session_id: nil, content: nil) ⇒ LocalCommandOutputMessage

Returns a new instance of LocalCommandOutputMessage.



285
286
287
288
289
290
# File 'lib/claude_agent_sdk/types.rb', line 285

def initialize(subtype:, data:, uuid: nil, session_id: nil, content: nil)
  super(subtype: subtype, data: data)
  @uuid = uuid
  @session_id = session_id
  @content = content
end

Instance Attribute Details

#contentObject

Returns the value of attribute content.



283
284
285
# File 'lib/claude_agent_sdk/types.rb', line 283

def content
  @content
end

#session_idObject

Returns the value of attribute session_id.



283
284
285
# File 'lib/claude_agent_sdk/types.rb', line 283

def session_id
  @session_id
end

#uuidObject

Returns the value of attribute uuid.



283
284
285
# File 'lib/claude_agent_sdk/types.rb', line 283

def uuid
  @uuid
end