Class: Riffer::Mcp::SearchTool::Result
- Inherits:
-
Tools::Response
- Object
- Tools::Response
- Riffer::Mcp::SearchTool::Result
- Defined in:
- lib/riffer/mcp/search_tool.rb
Overview
Successful search response carrying the matched tool classes.
Constant Summary
Constants inherited from Tools::Response
Tools::Response::VALID_FORMATS
Instance Attribute Summary collapse
-
#discovered_tools ⇒ Object
readonly
Tool classes that matched the search query.
Attributes inherited from Tools::Response
#content, #error_message, #error_type
Instance Method Summary collapse
-
#initialize(content, discovered_tools) ⇒ Result
constructor
– : (String, Array) -> void.
Methods inherited from Tools::Response
error, #error?, json, success, #success?, text, #to_h
Constructor Details
Instance Attribute Details
#discovered_tools ⇒ Object (readonly)
Tool classes that matched the search query.
11 12 13 |
# File 'lib/riffer/mcp/search_tool.rb', line 11 def discovered_tools @discovered_tools end |