effect-io-ai

Package: @effect/ai
Module: Tool

Tool.ParametersSchema

A utility type to extract the schema for the parameters which an Tool must be called with.

Signature

type ParametersSchema<T> = T extends Tool<
  infer _Name,
  infer _Config,
  infer _Requirements
> ? _Config["parameters"]
  : never

Source

Since v1.0.0