Class: ListGemsTool
- Inherits:
-
FastMcp::Tool
- Object
- FastMcp::Tool
- ListGemsTool
- Defined in:
- lib/yardmcp.rb
Overview
Tool: List all gems with .yardoc files
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
333 334 335 336 |
# File 'lib/yardmcp.rb', line 333 def call gems = YardUtils.instance.list_gems { content: gems.map { |gem| { text: gem, type: 'gem' } } } end |