Class: Pikuri::Agent::Event::ToolResult

Inherits:
Data
  • Object
show all
Defined in:
lib/pikuri/agent/event.rb

Overview

The observation a tool produced, as returned by Tool#run. Recoverable failures arrive here as “Error: …” strings (per the pikuri error convention), not as exceptions. Emitted by Pikuri::Agent‘s after_tool_result wiring.

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



113
114
115
# File 'lib/pikuri/agent/event.rb', line 113

def content
  @content
end