MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / buildActiveToolNames

Function buildActiveToolNames

src/runtime/agent.ts:209–221  ·  view source on GitHub ↗
(
  customTools: Array<{ name?: unknown }> = [],
)

Source from the content-addressed store, hash-verified

207}
208
209export function buildActiveToolNames(
210 customTools: Array<{ name?: unknown }> = [],
211): string[] {
212 const toolNames = [...BUILTIN_TOOL_NAMES];
213
214 for (const tool of customTools) {
215 if (typeof tool.name === "string" && tool.name.length > 0) {
216 toolNames.push(tool.name);
217 }
218 }
219
220 return [...new Set(toolNames)];
221}
222
223function materializeBuiltinSkillCreator(
224 rootDir: string,

Callers 2

getOrCreateSessionMethod · 0.85
agent.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected