Class: HierarchyTool

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

Overview

Tool: Return inheritance and inclusion info

Instance Method Summary collapse

Instance Method Details

#call(path:) ⇒ Object



365
366
367
# File 'lib/yardmcp.rb', line 365

def call(path:)
  { content: YardUtils.instance.hierarchy(path) }
end