MCPcopy Create free account
hub / github.com/Effect-TS/effect / toolCallPart

Function toolCallPart

packages/effect/src/unstable/ai/Prompt.ts:611–612  ·  view source on GitHub ↗
(params: PartConstructorParams<ToolCallPart>)

Source from the content-addressed store, hash-verified

609 * @since 4.0.0
610 */
611export const toolCallPart = (params: PartConstructorParams<ToolCallPart>): ToolCallPart =>
612 makePart("tool-call", params as any)
613
614// =============================================================================
615// Tool Result Part

Callers

nothing calls this directly

Calls 1

makePartFunction · 0.70

Tested by

no test coverage detected