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']
Type representing the parameters schema for AI tools.
Extracted from the first parameter of the tool
function from the 'ai' library.
type ToolParameterType = Parameters<typeof tool>[0]['parameters']