Skip to main content
Version: Next

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']