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

Function toolId

src/handler.ts:30–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30function toolId(): string {
31 return 'toolu_' + uuidv4().replace(/-/g, '').substring(0, 24);
32}
33
34// ==================== 常量导入 ====================
35// 拒绝模式、身份探针、工具能力询问等常量统一定义在 constants.ts

Callers 2

handleStreamFunction · 0.85
handleNonStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected