MCPcopy Index your code
hub / github.com/github/github-mcp-server / mockTool

Function mockTool

pkg/http/handler_test.go:26–28  ·  view source on GitHub ↗
(name, toolsetID string, readOnly bool)

Source from the content-addressed store, hash-verified

24)
25
26func mockTool(name, toolsetID string, readOnly bool) inventory.ServerTool {
27 return mockToolFull(name, toolsetID, readOnly, false)
28}
29
30func mockToolFull(name, toolsetID string, readOnly bool, isDefault bool) inventory.ServerTool {
31 return inventory.ServerTool{

Calls 1

mockToolFullFunction · 0.85

Tested by

no test coverage detected