Class: Mneme::Tools::EverythingOk

Inherits:
Tools::Base show all
Defined in:
lib/mneme/tools/everything_ok.rb

Overview

Sentinel tool signaling that Mneme has reviewed the viewport and determined no snapshot is needed. Called when the conversation context doesn’t contain enough meaningful content to summarize.

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Tools::Base

#initialize, schema

Constructor Details

This class inherits a constructor from Tools::Base

Class Method Details

.descriptionObject



11
12
13
# File 'lib/mneme/tools/everything_ok.rb', line 11

def self.description = "Signal that no snapshot is needed. " \
"Call this when the eviction zone contains only mechanical " \
"activity (tool calls) with no meaningful conversation to summarize."

.input_schemaObject



15
16
17
# File 'lib/mneme/tools/everything_ok.rb', line 15

def self.input_schema
  {type: "object", properties: {}, required: []}
end

.tool_nameObject



9
# File 'lib/mneme/tools/everything_ok.rb', line 9

def self.tool_name = "everything_ok"

Instance Method Details

#execute(_input) ⇒ Object



19
20
21
# File 'lib/mneme/tools/everything_ok.rb', line 19

def execute(_input)
  "Acknowledged. No snapshot needed."
end