MCPcopy Create free account
hub / github.com/compozy/agh / ListTools

Method ListTools

internal/cli/client_tools.go:103–109  ·  view source on GitHub ↗
(ctx context.Context, query ToolQuery)

Source from the content-addressed store, hash-verified

101}
102
103func (c *unixSocketClient) ListTools(ctx context.Context, query ToolQuery) (ToolsResponseRecord, error) {
104 var response ToolsResponseRecord
105 if err := c.doJSON(ctx, http.MethodGet, "/api/tools", toolValues(query), nil, &response); err != nil {
106 return ToolsResponseRecord{}, err
107 }
108 return response, nil
109}
110
111func (c *unixSocketClient) SearchTools(
112 ctx context.Context,

Calls 2

doJSONMethod · 0.95
toolValuesFunction · 0.85