Skip to content

docs: clarify pause_turn server tool resumption#1377

Closed
nightcityblade wants to merge 1 commit intoanthropics:mainfrom
nightcityblade:fix/issue-1339
Closed

docs: clarify pause_turn server tool resumption#1377
nightcityblade wants to merge 1 commit intoanthropics:mainfrom
nightcityblade:fix/issue-1339

Conversation

@nightcityblade
Copy link
Copy Markdown

Fixes #1339

Clarifies the pause_turn stop-reason docs to note that server tool flows must be resumed in the shape the API expects, including any required tool-result blocks, instead of implying that replaying the assistant response is always sufficient.

@nightcityblade nightcityblade requested a review from a team as a code owner April 14, 2026 03:12
@localden
Copy link
Copy Markdown
Collaborator

Thank you for the PR - src/anthropic/types/beta/beta_message.py, src/anthropic/types/message.py are auto-generated from the OpenAPI spec via Stainless, so manual edits here will be overwritten on the next codegen run. If this is a spec issue, it needs to be fixed upstream. Closing.

@localden localden closed this Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pause_turn with web_search: docs say re-submit response as-is, but API returns 400 — are we missing something?

2 participants