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

Function toolCallPart

packages/effect/src/unstable/ai/Response.ts:1425–1427  ·  view source on GitHub ↗
(
  params: ConstructorParams<ToolCallPart<Name, Params>>
)

Source from the content-addressed store, hash-verified

1423 * @since 4.0.0
1424 */
1425export const toolCallPart = <const Name extends string, Params>(
1426 params: ConstructorParams<ToolCallPart<Name, Params>>
1427): ToolCallPart<Name, Params> => makePart("tool-call", params)
1428
1429// =============================================================================
1430// Tool Call Result Part

Callers

nothing calls this directly

Calls 1

makePartFunction · 0.70

Tested by

no test coverage detected