File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,16 +105,22 @@ export type McpToolCallResponse = {
105105 | {
106106 type : "text"
107107 text : string
108+ annotations ?: Record < string , unknown >
109+ _meta ?: Record < string , unknown >
108110 }
109111 | {
110112 type : "image"
111113 data : string
112114 mimeType : string
115+ annotations ?: Record < string , unknown >
116+ _meta ?: Record < string , unknown >
113117 }
114118 | {
115119 type : "audio"
116120 data : string
117121 mimeType : string
122+ annotations ?: Record < string , unknown >
123+ _meta ?: Record < string , unknown >
118124 }
119125 | {
120126 type : "resource"
@@ -124,6 +130,17 @@ export type McpToolCallResponse = {
124130 text ?: string
125131 blob ?: string
126132 }
133+ annotations ?: Record < string , unknown >
134+ _meta ?: Record < string , unknown >
135+ }
136+ | {
137+ type : "resource_link"
138+ uri : string
139+ name : string
140+ description ?: string
141+ mimeType ?: string
142+ annotations ?: Record < string , unknown >
143+ _meta ?: Record < string , unknown >
127144 }
128145 >
129146 isError ?: boolean
You can’t perform that action at this time.
0 commit comments