Class: MethodsListTool
- Inherits:
-
FastMcp::Tool
- Object
- FastMcp::Tool
- MethodsListTool
- Defined in:
- lib/yardmcp.rb
Overview
Tool: List methods for a class/module
Instance Method Summary collapse
Instance Method Details
#call(path:) ⇒ Object
385 386 387 388 |
# File 'lib/yardmcp.rb', line 385 def call(path:) methods = YardUtils.instance.methods_list(path) { content: methods.map { |method| { text: method, type: 'method' } } } end |