Package: @effect/ai
Module: Response
Utility type that extracts tool call parts from a set of tools.
Signature
type ToolCallParts<Tools> = {
[Name in keyof Tools]: Name extends string ?
ToolCallPart<Name, Schema.Struct.Type<Tool.ParametersSchema<Tools[Name]>["fields"]>>
: never
}[keyof Tools]
Since v1.0.0