Skip to content

Commit 6be0e7d

Browse files
authored
Merge pull request #13 from modelcontextprotocol/davidsp/resources
docs: add early version of the resources spec
2 parents bb9572d + bb2a11f commit 6be0e7d

File tree

2 files changed

+426
-2
lines changed

2 files changed

+426
-2
lines changed

docs/spec/prompts.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ type: docs
44
weight: 3
55
---
66

7-
The Prompts API allows clients to retrieve information about available prompts and prompt templates from the server.
7+
The Prompts API allows clients to retrieve information about available prompts and prompt templates from the server. Prompts are templated conversations with a model that the client can retrieve. Commonly clients present available prompts to users as slash/at commands or similar approaches, e.g. by typing `/a-prompt`.
88

99
## Capabilities
1010

@@ -24,6 +24,8 @@ sequenceDiagram
2424
Server-->>Client: GetPromptResult
2525
```
2626

27+
# Messages
28+
2729
## List Prompts
2830

2931
The client **SHOULD** send a `prompts/list` request to retrieve a list of available prompts and prompt templates from the server.
@@ -74,7 +76,8 @@ Argument definitions, if present, **MUST** include:
7476
- required: An optional boolean indicating if the argument is required
7577

7678
The server **SHOULD** provide descriptive names and descriptions to help clients understand the purpose and usage of each prompt or template.
77-
## Get Prompt
79+
80+
## Getting a prompt
7881

7982
To retrieve a specific prompt or instantiate a prompt template, the client **SHOULD** send a `prompts/get` request.
8083

0 commit comments

Comments
 (0)