MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / NewStore

Function NewStore

internal/observedtools/store.go:30–32  ·  view source on GitHub ↗

NewStore creates a new empty Store.

()

Source from the content-addressed store, hash-verified

28
29// NewStore creates a new empty Store.
30func NewStore() *Store {
31 return &Store{tools: make(map[string]ObservedTool)}
32}
33
34// Record parses the tools array from a raw JSON request body and stores
35// each tool's name and schema. format must be "openai" or "claude".

Callers 6

GlobalFunction · 0.85
TestRecord_ClaudeFunction · 0.85
TestRecord_OpenAIFunction · 0.85
TestRecord_NoToolsFunction · 0.85
TestRecord_DedupFunction · 0.85
TestClearFunction · 0.85

Calls

no outgoing calls

Tested by 5

TestRecord_ClaudeFunction · 0.68
TestRecord_OpenAIFunction · 0.68
TestRecord_NoToolsFunction · 0.68
TestRecord_DedupFunction · 0.68
TestClearFunction · 0.68