MCPcopy
hub / github.com/7836246/cursor2api / fixToolCallArguments

Function fixToolCallArguments

test/unit-tool-fixer.mjs:33–37  ·  view source on GitHub ↗
(toolName, args)

Source from the content-addressed store, hash-verified

31}
32
33function fixToolCallArguments(toolName, args) {
34 args = normalizeToolArguments(args);
35 // repairExactMatchToolArguments is skipped in unit test (needs file system)
36 return args;
37}
38
39// ─── 测试框架 ──────────────────────────────────────────────────────────
40let passed = 0;

Callers 3

parseToolCallsFunction · 0.90
parseToolCallsWithFixFunction · 0.70

Calls 1

normalizeToolArgumentsFunction · 0.70

Tested by

no test coverage detected