Class: ListClassesTool

Inherits:
FastMcp::Tool
  • Object
show all
Defined in:
lib/yardmcp.rb

Overview

Tool: List all classes and modules in the loaded YARD registry

Instance Method Summary collapse

Instance Method Details

#call(gem_name:) ⇒ Object



316
317
318
# File 'lib/yardmcp.rb', line 316

def call(gem_name:)
  { content: YardUtils.instance.list_classes(gem_name) }
end