effect-io-ai

Package: @effect/ai
Module: Tool

Tool.Name

A utility type to extract the Name type from an Tool.

Signature

type Name<T> = T extends Tool<
  infer _Name,
  infer _Config,
  infer _Requirements
> ? _Name
  : never

Source

Since v1.0.0