Prompts changedspecification/2026-07-28/server/prompts
Nearest release: v2.1.305, published under an hour before 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 20 Oct 2026 20:02 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 Oct 2026 11:07 UTC.
Upstream edited
Recorded here
Lines+9added
Lines−9removed
From line
12
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits6to this page, all time
The whole hunk
from line 12, old and new numbered
/
from line 12
1212> `io.modelcontextprotocol/clientInfo`, and
1313> `io.modelcontextprotocol/clientCapabilities`). Every request **MUST** include
1414> the required `_meta` fields; see
15> [`_meta`](/specification/2026-07-28/basic/index#meta).
15> [`_meta`](https://modelcontextprotocol.io/specification/2026-07-28/basic/index#meta).
1616
1717## User Interaction Model
1818
from line 35
3535## Capabilities
3636
3737Servers that support prompts **MUST** declare the `prompts` capability in their
38[`DiscoverResult`](/specification/2026-07-28/schema#discoverresult):
38[`DiscoverResult`](https://modelcontextprotocol.io/specification/2026-07-28/schema#discoverresult):
3939
4040```json theme={null}
4141{
from line 64
6464### Listing Prompts
6565
6666To retrieve available prompts, clients send a `prompts/list` request. This operation
67supports [pagination](/specification/2026-07-28/server/utilities/pagination.md) and [caching](/specification/2026-07-28/server/utilities/caching.md).
67supports [pagination](https://modelcontextprotocol.io/specification/2026-07-28/server/utilities/pagination.md) and [caching](https://modelcontextprotocol.io/specification/2026-07-28/server/utilities/caching.md).
6868
6969**Request:**
7070
from line 118
118118### Getting a Prompt
119119
120120To retrieve a specific prompt, clients send a `prompts/get` request. Arguments may be
121auto-completed through [the completion API](/specification/2026-07-28/server/utilities/completion.md).
121auto-completed through [the completion API](https://modelcontextprotocol.io/specification/2026-07-28/server/utilities/completion.md).
122122
123123**Request:**
124124
from line 158
158158}
159159```
160160
161Servers **MAY** also respond to `prompts/get` with an [`InputRequiredResult`](/specification/2026-07-28/basic/patterns/mrtr#inputrequiredresult) to indicate that additional input is needed before the prompt can be resolved. This follows the [multi round-trip requests](/specification/2026-07-28/basic/patterns/mrtr.md#multi-round-trip-requests) mechanism. When retrying the request, clients include `inputResponses` and, if provided by the server, `requestState` in the request parameters.
161Servers **MAY** also respond to `prompts/get` with an [`InputRequiredResult`](https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns/mrtr#inputrequiredresult) to indicate that additional input is needed before the prompt can be resolved. This follows the [multi round-trip requests](https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns/mrtr.md#multi-round-trip-requests) mechanism. When retrying the request, clients include `inputResponses` and, if provided by the server, `requestState` in the request parameters.
162162
163163### List Changed Notification
164164
165165When the list of available prompts changes, servers that declared the `listChanged`
166166capability **SHOULD** send a notification to clients that have opened a
167[`subscriptions/listen`](/specification/2026-07-28/basic/patterns/subscriptions) stream with
167[`subscriptions/listen`](https://modelcontextprotocol.io/specification/2026-07-28/basic/patterns/subscriptions) stream with
168168`promptsListChanged: true`:
169169
170170```json theme={null}
from line 221
221221> [!NOTE]
222222>
223223> All content types in prompt messages support optional
224> [annotations](/specification/2026-07-28/server/resources.md#annotations) for
224> [annotations](https://modelcontextprotocol.io/specification/2026-07-28/server/resources.md#annotations) for
225225> metadata about audience, priority, and modification times.
226226
227227#### Text Content
from line 270
270270#### Resource Links
271271
272272Prompt messages **MAY** include links to
273[Resources](/specification/2026-07-28/server/resources.md), to provide additional context or
273[Resources](https://modelcontextprotocol.io/specification/2026-07-28/server/resources.md), to provide additional context or
274274data without embedding the resource contents directly. In this case, the prompt message
275275returns a URI that can be fetched by the client:
276276
from line 284
284284}
285285```
286286
287Resource links support the same [Resource annotations](/specification/2026-07-28/server/resources.md#annotations)
287Resource links support the same [Resource annotations](https://modelcontextprotocol.io/specification/2026-07-28/server/resources.md#annotations)
288288as regular resources to help clients understand how to use them.
289289
290290#### Embedded Resources
No line in this hunk matches that.