MCPcopy Create free account
hub / github.com/Louisym/MiniCC / find_tools

Function find_tools

src/tools.py:75–78  ·  view source on GitHub ↗
(query: str, limit: int = 20)

Source from the content-addressed store, hash-verified

73
74
75def find_tools(query: str, limit: int = 20) -> list[PortingModule]:
76 needle = query.lower()
77 matches = [module for module in PORTED_TOOLS if needle in module.name.lower() or needle in module.source_hint.lower()]
78 return matches[:limit]
79
80
81def execute_tool(name: str, payload: str = '') -> ToolExecution:

Callers 1

render_tool_indexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected