Class: ClaudeAgentSDK::TaskStartedMessage

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

Overview

Task started system message (subagent/background task started)

Instance Attribute Summary collapse

Attributes inherited from SystemMessage

#data, #subtype

Method Summary

Methods inherited from SystemMessage

#initialize

Methods inherited from Type

#[], #[]=, from_hash, #initialize, #to_h, wrap

Constructor Details

This class inherits a constructor from ClaudeAgentSDK::SystemMessage

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



323
324
325
# File 'lib/claude_agent_sdk/types.rb', line 323

def description
  @description
end

#promptObject

Returns the value of attribute prompt.



323
324
325
# File 'lib/claude_agent_sdk/types.rb', line 323

def prompt
  @prompt
end

#session_idObject

Returns the value of attribute session_id.



323
324
325
# File 'lib/claude_agent_sdk/types.rb', line 323

def session_id
  @session_id
end

#task_idObject

Returns the value of attribute task_id.



323
324
325
# File 'lib/claude_agent_sdk/types.rb', line 323

def task_id
  @task_id
end

#task_typeObject

Returns the value of attribute task_type.



323
324
325
# File 'lib/claude_agent_sdk/types.rb', line 323

def task_type
  @task_type
end

#tool_use_idObject

Returns the value of attribute tool_use_id.



323
324
325
# File 'lib/claude_agent_sdk/types.rb', line 323

def tool_use_id
  @tool_use_id
end

#uuidObject

Returns the value of attribute uuid.



323
324
325
# File 'lib/claude_agent_sdk/types.rb', line 323

def uuid
  @uuid
end

#workflow_nameObject

Returns the value of attribute workflow_name.



323
324
325
# File 'lib/claude_agent_sdk/types.rb', line 323

def workflow_name
  @workflow_name
end