Class: ActionModelContext::TestHelper::Result

Inherits:
Data
  • Object
show all
Defined in:
lib/action_model_context/test_helper.rb

Overview

What #call_tool returns.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#error ⇒ Boolean (readonly)

Whether the tool answered an error result.

Returns:

  • (Boolean)

#structured_content ⇒ Hash? (readonly)

The structured content of the result.

Returns:

  • (Hash, nil)

#text ⇒ String (readonly)

The text parts of the result, joined.

Returns:

  • (String)

Instance Method Details

#error? ⇒ Boolean

Tells whether the tool answered an error result.

Returns:

  • (Boolean)