Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.325 Latest v2.1.331 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · mcp

Sampling changedspecification/draft/client/sampling

Nearest release: v2.1.332, published under an hour 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 24 Nov 2026 21:51 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 24 Nov 2026 22:07 UTC.

Upstream edited
Recorded here
Lines+33added
Lines−5removed
From line 6 where the diff opens
First seen 26 Aug 2026 this site's first read of the page
Recorded edits7to this page, all time

#### Tool Use Content #### Tool Result Content

The whole hunk

from line 6, old and new numbered
/
lines
from line 6
66> `2026-07-28`
77> ([SEP-2577](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2577)).
88> Under the [feature lifecycle policy](https://modelcontextprotocol.io/community/feature-lifecycle.md), it remains
9> in the specification for at least twelve months after this revision's release
9> in the specification for at least twelve months after that revision's release
1010> before it becomes eligible for removal. New implementations **SHOULD NOT**
1111> adopt it; existing implementations **SHOULD** migrate to integrating directly
1212> with LLM provider APIs. See the [deprecated features
from line 506
506506 User-->>Client: Review and approve/modify
507507 
508508 Note over Server,Client: Replay Request with approved response
509 Client-->>Server: tools/call(id:3, Return approved response)
509 Client-->>Server: tools/call(id:2, Return approved response)
510510```
511511 
512512## Data Types
from line 519
519519The list of messages in a sampling request **SHOULD NOT** be retained between
520520separate requests.
521521 
522The `content` field can contain:
522The `content` field contains a single content block or an array of content blocks. Each
523block is one of the following types, subject to the
524[message content constraints](#message-content-constraints):
523525 
524526#### Text Content
525527 
from line 552
550552}
551553```
552554 
555#### Tool Use Content
556 
557```json theme={null}
558{
559 "type": "tool_use",
560 "id": "call_abc123",
561 "name": "get_weather",
562 "input": { "city": "Paris" }
563}
564```
565 
566#### Tool Result Content
567 
568```json theme={null}
569{
570 "type": "tool_result",
571 "toolUseId": "call_abc123",
572 "content": [
573 {
574 "type": "text",
575 "text": "Weather in Paris: 18°C, partly cloudy"
576 }
577 ]
578}
579```
580 
553581### Model Preferences
554582 
555583Model selection in MCP requires careful abstraction since servers and clients may use
from line 632
604632 
605633### Context Inclusion
606634 
607The `includeContext` parameter specifies what context information the client is expected
608to include in its response:
635The `includeContext` parameter requests that the client attach context information to
636the prompt:
609637 
610638* `"none"`: No additional context.
611639* `"thisServer"`: Include context from the requesting server.
Feedback