ai
ai copied to clipboard
Anthropic: add section to docs about structured outputs and tool inputs
Follow up to https://github.com/vercel/ai/pull/8914
Maybe add a new section to https://ai-sdk.dev/providers/ai-sdk-providers/anthropic#language-models
I've submitted PR #9229 to address this. The new section includes complete code examples for both streamObject and streamText with the anthropic-beta header for incremental streaming.
Identify issue type
Identified as Documentation
Confidence: High
Rationale
This issue requests an addition to provider documentation rather than a change to SDK behavior or a standalone example project.
Evidence
- The title explicitly requests adding documentation about Anthropic structured outputs and tool inputs.
- The description proposes a new section on the Anthropic provider documentation page.
- The comment says PR #9229 adds the section with code examples for
streamObjectandstreamText.