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

Function collectToolNamesClaude

internal/toolinjection/injection.go:134–136  ·  view source on GitHub ↗

collectToolNamesClaude extracts tool names from a Claude request.

(rawJSON []byte)

Source from the content-addressed store, hash-verified

132
133// collectToolNamesClaude extracts tool names from a Claude request.
134func collectToolNamesClaude(rawJSON []byte) []string {
135 return collectToolNamesFromPath(rawJSON, "name")
136}
137
138// collectToolNamesResponses extracts tool names from a Responses API request.
139func collectToolNamesResponses(rawJSON []byte) []string {

Callers 1

CollectToolNamesMethod · 0.85

Calls 1

collectToolNamesFromPathFunction · 0.85

Tested by

no test coverage detected