Tool and schema utility exports undocumented
packages/ai/src/index.ts
export { tool } from '@ai-sdk/provider-utils'
export { dynamicTool } from '@ai-sdk/provider-utils'
export { jsonSchema } from '@ai-sdk/provider-utils'
export { zodSchema } from '@ai-sdk/provider-utils'
export { asSchema } from '@ai-sdk/provider-utils'(not documented)The main AI SDK exports multiple tool and schema utilities (tool, dynamicTool, jsonSchema, zodSchema, asSchema) but these are not mentioned in the introduction documentation, making it unclear to developers that these utilities are available from the main package.
Document these exported utilities in the AI SDK Core reference section, particularly in the tool calling and structured data generation documentation pages.