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.



343
344
345
# File 'lib/claude_agent_sdk/types.rb', line 343

def description
  @description
end

#promptObject

Returns the value of attribute prompt.



343
344
345
# File 'lib/claude_agent_sdk/types.rb', line 343

def prompt
  @prompt
end

#session_idObject

Returns the value of attribute session_id.



343
344
345
# File 'lib/claude_agent_sdk/types.rb', line 343

def session_id
  @session_id
end

#task_idObject

Returns the value of attribute task_id.



343
344
345
# File 'lib/claude_agent_sdk/types.rb', line 343

def task_id
  @task_id
end

#task_typeObject

Returns the value of attribute task_type.



343
344
345
# File 'lib/claude_agent_sdk/types.rb', line 343

def task_type
  @task_type
end

#tool_use_idObject

Returns the value of attribute tool_use_id.



343
344
345
# File 'lib/claude_agent_sdk/types.rb', line 343

def tool_use_id
  @tool_use_id
end

#uuidObject

Returns the value of attribute uuid.



343
344
345
# File 'lib/claude_agent_sdk/types.rb', line 343

def uuid
  @uuid
end

#workflow_nameObject

Returns the value of attribute workflow_name.



343
344
345
# File 'lib/claude_agent_sdk/types.rb', line 343

def workflow_name
  @workflow_name
end