ai icon indicating copy to clipboard operation
ai copied to clipboard

Anthropic: add section to docs about structured outputs and tool inputs

Open gr2m opened this issue 1 year ago • 2 comments

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

gr2m avatar Sep 25 '25 18:09 gr2m

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.

dhofheinz avatar Oct 07 '25 06:10 dhofheinz

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 streamObject and streamText.

lgrammel avatar Jul 22 '26 13:07 lgrammel