Sampling changedspecification/draft/client/sampling
Nearest release: v2.1.321, published 5 hours after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 9 Nov 2026 13:29 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 16 Nov 2026 18:37 UTC.
Upstream edited
Recorded here
Lines+3added
Lines−0removed
From line
674
where the diff opens
First seen
26 Aug 2026
this site's first read of the page
Recorded edits6to this page, all time
The whole hunk
from line 674, old and new numbered
/
from line 674
6746746. Servers **MUST** ensure that when replying to a `stopReason: "toolUse"`, each `ToolUseContent` item is responded to with a `ToolResultContent` item with a matching `toolUseId`, and that the user message contains only tool results (no other content types)
6756757. Both parties **SHOULD** implement iteration limits for tool loops
676676
677
678This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.
679
No line in this hunk matches that.