MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / openCodeToolName

Function openCodeToolName

src/mcp/opencode-tool-names.ts:29–31  ·  view source on GitHub ↗
(tool: string)

Source from the content-addressed store, hash-verified

27
28/** A tool's name as OpenCode lists it: `codegraph_explore` → `codegraph_codegraph_explore`. */
29export function openCodeToolName(tool: string): string {
30 return `${OPENCODE_SERVER_KEY}_${tool}`;
31}
32
33/**
34 * `text` with each of `toolNames` written as OpenCode lists it. Only a whole

Callers 2

withOpenCodeToolNamesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected