Skip to content

Commit 7e5a3e8

Browse files
Merge pull request modelcontextprotocol#39 from modelcontextprotocol/justin/fix-embedded-resource-docs
Fix doc example of embedding resources
2 parents 07ddc80 + b57d91d commit 7e5a3e8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/spec/prompts.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,11 @@ Example:
254254
"role": "user",
255255
"content": {
256256
"type": "resource",
257-
"uri": "file:///workspace/project/requirements.txt",
258-
"mimeType": "text/plain",
259-
"text": "flask==2.0.1\nnumpy==1.21.0\npandas==1.3.0\n"
257+
"resource": {
258+
"uri": "file:///workspace/project/requirements.txt",
259+
"mimeType": "text/plain",
260+
"text": "flask==2.0.1\nnumpy==1.21.0\npandas==1.3.0\n"
261+
}
260262
}
261263
},
262264
{

0 commit comments

Comments
 (0)