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

Struct ToolExecutor

services/tool_executor.go:13–16  ·  view source on GitHub ↗

ToolExecutor handles the execution of tool calls

Source from the content-addressed store, hash-verified

11
12// ToolExecutor handles the execution of tool calls
13type ToolExecutor struct {
14 productService *ProductService
15 cartService *CartService
16}
17
18// NewToolExecutor creates a new tool executor
19func NewToolExecutor(productService *ProductService, cartService *CartService) *ToolExecutor {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected