effect-io-ai

Package: @effect/ai
Module: Tool

Tool.Parameters

A utility type to extract the type of the tool call parameters.

Signature

type Parameters<T> = T extends Tool<
  infer _Name,
  infer _Config,
  infer _Requirements
> ? Schema.Struct.Type<_Config["parameters"]["fields"]>
  : never

Source

Since v1.0.0