Package: @effect/ai
Module: Tool
A utility type to extract the schema for the return type of a tool call when the tool call succeeds.
Signature
type SuccessSchema<T> = T extends Tool<
infer _Name,
infer _Config,
infer _Requirements
> ? _Config["success"]
: never
Since v1.0.0