File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -558,11 +558,11 @@ export interface PromptArgument {
558558 * Describes a message returned as part of a prompt.
559559 *
560560 * This is similar to `SamplingMessage`, but also supports the embedding of
561- * resource contents from the MCP server.
561+ * resources from the MCP server.
562562 */
563563export interface PromptMessage {
564564 role : "user" | "assistant" ;
565- content : TextContent | ImageContent | PromptResourceContents ;
565+ content : TextContent | ImageContent | PromptEmbeddedResource ;
566566}
567567
568568/**
@@ -571,8 +571,9 @@ export interface PromptMessage {
571571 * It is up to the client how best to render embedded resources for the benefit
572572 * of the LLM and/or the user.
573573 */
574- export interface PromptResourceContents extends ResourceContents {
574+ export interface PromptEmbeddedResource {
575575 type : "resource" ;
576+ resource : TextResourceContents | BlobResourceContents ;
576577}
577578
578579/**
You can’t perform that action at this time.
0 commit comments