MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / buildNativeToolsArray

Function buildNativeToolsArray

src/core/task/build-tools.ts:66–69  ·  view source on GitHub ↗
(options: BuildToolsOptions)

Source from the content-addressed store, hash-verified

64 * @returns Array of filtered native and MCP tools
65 */
66export async function buildNativeToolsArray(options: BuildToolsOptions): Promise<OpenAI.Chat.ChatCompletionTool[]> {
67 const result = await buildNativeToolsArrayWithRestrictions(options)
68 return result.tools
69}
70
71/**
72 * Builds the complete tools array for native protocol requests with optional mode restrictions.

Callers

nothing calls this directly

Tested by

no test coverage detected