MCPcopy Create free account
hub / github.com/github/copilot-sdk / expandToolName

Function expandToolName

test/harness/replayingCapiProxy.ts:1345–1353  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

1343}
1344
1345function expandToolName(name: string): string {
1346 for (const [fullName, normalized] of Object.entries(normalizedToolNames)) {
1347 if (name === normalized) {
1348 return fullName;
1349 }
1350 }
1351
1352 return name;
1353}
1354
1355// Turns a normalized message back into a full OpenAI ChatCompletion that we can replay as a response
1356function createOpenAIResponse(

Callers 1

createOpenAIResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…