MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / Tool

Struct Tool

mcp-server/tool.go:21–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21type Tool struct {
22 name string
23 url string
24 method string
25 contentType string
26 params map[string]*Param
27 opts []mcp.ToolOption
28}
29
30func (t *Tool) Tool() server.ServerTool {
31 return server.ServerTool{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected