Class: ClaudeAgentSDK::ToolProgressMessage
- Inherits:
-
Object
- Object
- ClaudeAgentSDK::ToolProgressMessage
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Tool progress message (type: ‘tool_progress’)
Instance Attribute Summary collapse
-
#elapsed_time_seconds ⇒ Object
Returns the value of attribute elapsed_time_seconds.
-
#parent_tool_use_id ⇒ Object
Returns the value of attribute parent_tool_use_id.
-
#session_id ⇒ Object
Returns the value of attribute session_id.
-
#task_id ⇒ Object
Returns the value of attribute task_id.
-
#tool_name ⇒ Object
Returns the value of attribute tool_name.
-
#tool_use_id ⇒ Object
Returns the value of attribute tool_use_id.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
Instance Method Summary collapse
-
#initialize(uuid: nil, session_id: nil, tool_use_id: nil, tool_name: nil, parent_tool_use_id: nil, elapsed_time_seconds: nil, task_id: nil) ⇒ ToolProgressMessage
constructor
A new instance of ToolProgressMessage.
Constructor Details
#initialize(uuid: nil, session_id: nil, tool_use_id: nil, tool_name: nil, parent_tool_use_id: nil, elapsed_time_seconds: nil, task_id: nil) ⇒ ToolProgressMessage
Returns a new instance of ToolProgressMessage.
491 492 493 494 495 496 497 498 499 500 |
# File 'lib/claude_agent_sdk/types.rb', line 491 def initialize(uuid: nil, session_id: nil, tool_use_id: nil, tool_name: nil, parent_tool_use_id: nil, elapsed_time_seconds: nil, task_id: nil) @uuid = uuid @session_id = session_id @tool_use_id = tool_use_id @tool_name = tool_name @parent_tool_use_id = parent_tool_use_id @elapsed_time_seconds = elapsed_time_seconds @task_id = task_id end |
Instance Attribute Details
#elapsed_time_seconds ⇒ Object
Returns the value of attribute elapsed_time_seconds.
488 489 490 |
# File 'lib/claude_agent_sdk/types.rb', line 488 def elapsed_time_seconds @elapsed_time_seconds end |
#parent_tool_use_id ⇒ Object
Returns the value of attribute parent_tool_use_id.
488 489 490 |
# File 'lib/claude_agent_sdk/types.rb', line 488 def parent_tool_use_id @parent_tool_use_id end |
#session_id ⇒ Object
Returns the value of attribute session_id.
488 489 490 |
# File 'lib/claude_agent_sdk/types.rb', line 488 def session_id @session_id end |
#task_id ⇒ Object
Returns the value of attribute task_id.
488 489 490 |
# File 'lib/claude_agent_sdk/types.rb', line 488 def task_id @task_id end |
#tool_name ⇒ Object
Returns the value of attribute tool_name.
488 489 490 |
# File 'lib/claude_agent_sdk/types.rb', line 488 def tool_name @tool_name end |
#tool_use_id ⇒ Object
Returns the value of attribute tool_use_id.
488 489 490 |
# File 'lib/claude_agent_sdk/types.rb', line 488 def tool_use_id @tool_use_id end |
#uuid ⇒ Object
Returns the value of attribute uuid.
488 489 490 |
# File 'lib/claude_agent_sdk/types.rb', line 488 def uuid @uuid end |