Package: @effect/ai
Module: Tool
A utility type to extract the encoded type of the tool call result when it succeeds.
Signature
type SuccessEncoded<T> = T extends Tool<
infer _Name,
infer _Config,
infer _Requirements
> ? Schema.Schema.Encoded<_Config["success"]>
: never
Since v1.0.0