MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / ToolRegistry

Interface ToolRegistry

internal/services/toolkit/types.go:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8type ToolHandler func(ctx context.Context, toolCallId string, args json.RawMessage) (result string, furtherInstruction string, err error)
9
10type ToolRegistry interface {
11 Register(name string, handler ToolHandler)
12 Call(ctx context.Context, toolCallId string, toolCallName string, toolCallArgs json.RawMessage) (result string, furtherInstruction string, err error)
13}

Callers 6

LoadToolsFromBackendMethod · 0.65
LoadToolsFromBackendMethod · 0.65
HandleToolCallsMethod · 0.65
HandleToolCallsV2Method · 0.65
getDefaultParamsV2Function · 0.45
getDefaultParamsFunction · 0.45

Implementers 2

ToolRegistryV2internal/services/toolkit/registry/reg
ToolRegistryinternal/services/toolkit/registry/reg

Calls

no outgoing calls

Tested by

no test coverage detected