MCPcopy Create free account
hub / github.com/docker/model-test / ShoppingTools

Struct ShoppingTools

tools/shopping_tools.go:10–12  ·  view source on GitHub ↗

ShoppingTools provides the shopping cart tool definitions and mock implementations

Source from the content-addressed store, hash-verified

8
9// ShoppingTools provides the shopping cart tool definitions and mock implementations
10type ShoppingTools struct {
11 cart map[string]int // product_name -> quantity
12}
13
14// NewShoppingTools creates a new instance of shopping tools
15func NewShoppingTools() *ShoppingTools {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected