This repository was archived by the owner on May 15, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,16 +106,34 @@ export type McpToolCallResponse = {
106106 | {
107107 type : "text"
108108 text : string
109+ annotations ?: {
110+ audience ?: ( "assistant" | "user" ) [ ]
111+ priority ?: number
112+ lastModified ?: string
113+ }
114+ _meta ?: Record < string , any > // eslint-disable-line @typescript-eslint/no-explicit-any
109115 }
110116 | {
111117 type : "image"
112118 data : string
113119 mimeType : string
120+ annotations ?: {
121+ audience ?: ( "assistant" | "user" ) [ ]
122+ priority ?: number
123+ lastModified ?: string
124+ }
125+ _meta ?: Record < string , any > // eslint-disable-line @typescript-eslint/no-explicit-any
114126 }
115127 | {
116128 type : "audio"
117129 data : string
118130 mimeType : string
131+ annotations ?: {
132+ audience ?: ( "assistant" | "user" ) [ ]
133+ priority ?: number
134+ lastModified ?: string
135+ }
136+ _meta ?: Record < string , any > // eslint-disable-line @typescript-eslint/no-explicit-any
119137 }
120138 | {
121139 type : "resource"
@@ -125,6 +143,26 @@ export type McpToolCallResponse = {
125143 text ?: string
126144 blob ?: string
127145 }
146+ annotations ?: {
147+ audience ?: ( "assistant" | "user" ) [ ]
148+ priority ?: number
149+ lastModified ?: string
150+ }
151+ _meta ?: Record < string , any > // eslint-disable-line @typescript-eslint/no-explicit-any
152+ }
153+ | {
154+ type : "resource_link"
155+ uri : string
156+ name : string
157+ description ?: string
158+ mimeType ?: string
159+ size ?: number
160+ annotations ?: {
161+ audience ?: ( "assistant" | "user" ) [ ]
162+ priority ?: number
163+ lastModified ?: string
164+ }
165+ _meta ?: Record < string , any > // eslint-disable-line @typescript-eslint/no-explicit-any
128166 }
129167 >
130168 isError ?: boolean
You can’t perform that action at this time.
0 commit comments