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.



264
265
266
267
268
269
# File 'lib/claude_agent_sdk/types.rb', line 264

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.



262
263
264
# File 'lib/claude_agent_sdk/types.rb', line 262

def content
  @content
end

#session_idObject

Returns the value of attribute session_id.



262
263
264
# File 'lib/claude_agent_sdk/types.rb', line 262

def session_id
  @session_id
end

#uuidObject

Returns the value of attribute uuid.



262
263
264
# File 'lib/claude_agent_sdk/types.rb', line 262

def uuid
  @uuid
end