Skip to main content
Version: 1.x

ToolParameterType

ToolParameterType

Type representing the parameters schema for AI tools. Extracted from the first parameter of the tool function from the 'ai' library.

Signature
type ToolParameterType = z.ZodType | z3.ZodType | Schema<any>