MCPcopy Create free account
hub / github.com/CopilotKit/CopilotKit / initialize

Method initialize

packages/core/src/core/run-handler.ts:146–148  ·  view source on GitHub ↗

* Initialize with tools

(tools: FrontendTool<any>[])

Source from the content-addressed store, hash-verified

144 * Initialize with tools
145 */
146 initialize(tools: FrontendTool<any>[]): void {
147 this._tools = tools;
148 }
149
150 /**
151 * Add a tool to the registry

Callers 9

constructorMethod · 0.45
buildSingleToolSchemaFunction · 0.45
useGoogleAnalyticsFunction · 0.45
main.tsFile · 0.45
renderDiagramFunction · 0.45

Calls

no outgoing calls

Tested by 1

buildSingleToolSchemaFunction · 0.36