Skip to main content
Version: 1.2

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 = Parameters<typeof tool>[0]['parameters']