MCPcopy
hub / github.com/Effect-TS/effect / of

Method of

packages/ai/ai/src/Toolkit.ts:132–132  ·  view source on GitHub ↗

* A helper method which can be used for type-safe handler declarations.

(handlers: Handlers)

Source from the content-addressed store, hash-verified

130 * A helper method which can be used for type-safe handler declarations.
131 */
132 of<Handlers extends HandlersFrom<Tools>>(handlers: Handlers): Handlers
133
134 /**
135 * Converts a toolkit into an Effect Context containing handlers for each tool

Callers 12

AnthropicClient.tsFile · 0.65
makeFunction · 0.65
Chat.tsFile · 0.65
Prompt.tsFile · 0.65
McpServerClass · 0.65
McpServer.tsFile · 0.65
makeFunction · 0.65
makeDataLoaderFunction · 0.65
makeFunction · 0.65
makeFunction · 0.65
makeFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected