@tsed/cli 7.0.0-rc.1 → 7.0.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,7 @@
1
1
  export declare const generateTool: import("@tsed/cli-core").FactoryTokenProvider<{
2
- inputSchema: Record<string, import("zod").AnyZodObject> | undefined;
3
- outputSchema: Record<string, import("zod").AnyZodObject> | undefined;
2
+ name: string | undefined;
3
+ inputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
4
+ outputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
4
5
  handler(args: import("@tsed/schema").PropsToShape<{
5
6
  id: import("@tsed/schema").JsonSchema<string>;
6
7
  name: import("@tsed/schema").JsonSchema<string>;
@@ -107,10 +108,124 @@ export declare const generateTool: import("@tsed/cli-core").FactoryTokenProvider
107
108
  message: any;
108
109
  };
109
110
  }>;
111
+ description?: string | undefined;
110
112
  _meta?: Record<string, unknown> | undefined;
113
+ annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations;
114
+ title?: string | undefined;
115
+ } | {
116
+ name: string | undefined;
117
+ inputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
118
+ outputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
119
+ handler(args: import("@tsed/schema").PropsToShape<{
120
+ id: import("@tsed/schema").JsonSchema<string>;
121
+ name: import("@tsed/schema").JsonSchema<string>;
122
+ properties: import("@tsed/schema").JsonSchema<(import("@tsed/schema").PropsToShape<Record<string, import("@tsed/schema").JsonSchema<any>>> & Record<string, unknown>) | undefined>;
123
+ }>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
124
+ [x: string]: unknown;
125
+ content: ({
126
+ type: "text";
127
+ text: string;
128
+ annotations?: {
129
+ audience?: ("user" | "assistant")[] | undefined;
130
+ priority?: number | undefined;
131
+ lastModified?: string | undefined;
132
+ } | undefined;
133
+ _meta?: {
134
+ [x: string]: unknown;
135
+ } | undefined;
136
+ } | {
137
+ type: "image";
138
+ data: string;
139
+ mimeType: string;
140
+ annotations?: {
141
+ audience?: ("user" | "assistant")[] | undefined;
142
+ priority?: number | undefined;
143
+ lastModified?: string | undefined;
144
+ } | undefined;
145
+ _meta?: {
146
+ [x: string]: unknown;
147
+ } | undefined;
148
+ } | {
149
+ type: "audio";
150
+ data: string;
151
+ mimeType: string;
152
+ annotations?: {
153
+ audience?: ("user" | "assistant")[] | undefined;
154
+ priority?: number | undefined;
155
+ lastModified?: string | undefined;
156
+ } | undefined;
157
+ _meta?: {
158
+ [x: string]: unknown;
159
+ } | undefined;
160
+ } | {
161
+ uri: string;
162
+ name: string;
163
+ type: "resource_link";
164
+ description?: string | undefined;
165
+ mimeType?: string | undefined;
166
+ annotations?: {
167
+ audience?: ("user" | "assistant")[] | undefined;
168
+ priority?: number | undefined;
169
+ lastModified?: string | undefined;
170
+ } | undefined;
171
+ _meta?: {
172
+ [x: string]: unknown;
173
+ } | undefined;
174
+ icons?: {
175
+ src: string;
176
+ mimeType?: string | undefined;
177
+ sizes?: string[] | undefined;
178
+ theme?: "light" | "dark" | undefined;
179
+ }[] | undefined;
180
+ title?: string | undefined;
181
+ } | {
182
+ type: "resource";
183
+ resource: {
184
+ uri: string;
185
+ text: string;
186
+ mimeType?: string | undefined;
187
+ _meta?: {
188
+ [x: string]: unknown;
189
+ } | undefined;
190
+ } | {
191
+ uri: string;
192
+ blob: string;
193
+ mimeType?: string | undefined;
194
+ _meta?: {
195
+ [x: string]: unknown;
196
+ } | undefined;
197
+ };
198
+ annotations?: {
199
+ audience?: ("user" | "assistant")[] | undefined;
200
+ priority?: number | undefined;
201
+ lastModified?: string | undefined;
202
+ } | undefined;
203
+ _meta?: {
204
+ [x: string]: unknown;
205
+ } | undefined;
206
+ })[];
207
+ _meta?: {
208
+ [x: string]: unknown;
209
+ progressToken?: string | number | undefined;
210
+ "io.modelcontextprotocol/related-task"?: {
211
+ taskId: string;
212
+ } | undefined;
213
+ } | undefined;
214
+ structuredContent?: {
215
+ [x: string]: unknown;
216
+ } | undefined;
217
+ isError?: boolean | undefined;
218
+ } | {
219
+ content: never[];
220
+ structuredContent: {
221
+ code: string;
222
+ message: any;
223
+ };
224
+ }>;
111
225
  description?: string | undefined;
112
- annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations | undefined;
226
+ _meta?: Record<string, unknown> | undefined;
227
+ annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations;
113
228
  title?: string | undefined;
114
- token?: import("@tsed/cli-core").TokenProvider;
115
- name: string;
229
+ token: import("@tsed/cli-core").Type | import("@tsed/cli-core").AbstractType<any>;
230
+ propertyKey: string | symbol;
116
231
  }>;
@@ -1,6 +1,7 @@
1
1
  export declare const getTemplateTool: import("@tsed/di").FactoryTokenProvider<{
2
- inputSchema: Record<string, import("zod").AnyZodObject> | undefined;
3
- outputSchema: Record<string, import("zod").AnyZodObject> | undefined;
2
+ name: string | undefined;
3
+ inputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
4
+ outputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
4
5
  handler(args: import("@tsed/schema").PropsToShape<{
5
6
  id: import("@tsed/schema").JsonSchema<string>;
6
7
  }>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
@@ -105,10 +106,122 @@ export declare const getTemplateTool: import("@tsed/di").FactoryTokenProvider<{
105
106
  message: any;
106
107
  };
107
108
  }>;
109
+ description?: string | undefined;
108
110
  _meta?: Record<string, unknown> | undefined;
111
+ annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations;
112
+ title?: string | undefined;
113
+ } | {
114
+ name: string | undefined;
115
+ inputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
116
+ outputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
117
+ handler(args: import("@tsed/schema").PropsToShape<{
118
+ id: import("@tsed/schema").JsonSchema<string>;
119
+ }>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
120
+ [x: string]: unknown;
121
+ content: ({
122
+ type: "text";
123
+ text: string;
124
+ annotations?: {
125
+ audience?: ("user" | "assistant")[] | undefined;
126
+ priority?: number | undefined;
127
+ lastModified?: string | undefined;
128
+ } | undefined;
129
+ _meta?: {
130
+ [x: string]: unknown;
131
+ } | undefined;
132
+ } | {
133
+ type: "image";
134
+ data: string;
135
+ mimeType: string;
136
+ annotations?: {
137
+ audience?: ("user" | "assistant")[] | undefined;
138
+ priority?: number | undefined;
139
+ lastModified?: string | undefined;
140
+ } | undefined;
141
+ _meta?: {
142
+ [x: string]: unknown;
143
+ } | undefined;
144
+ } | {
145
+ type: "audio";
146
+ data: string;
147
+ mimeType: string;
148
+ annotations?: {
149
+ audience?: ("user" | "assistant")[] | undefined;
150
+ priority?: number | undefined;
151
+ lastModified?: string | undefined;
152
+ } | undefined;
153
+ _meta?: {
154
+ [x: string]: unknown;
155
+ } | undefined;
156
+ } | {
157
+ uri: string;
158
+ name: string;
159
+ type: "resource_link";
160
+ description?: string | undefined;
161
+ mimeType?: string | undefined;
162
+ annotations?: {
163
+ audience?: ("user" | "assistant")[] | undefined;
164
+ priority?: number | undefined;
165
+ lastModified?: string | undefined;
166
+ } | undefined;
167
+ _meta?: {
168
+ [x: string]: unknown;
169
+ } | undefined;
170
+ icons?: {
171
+ src: string;
172
+ mimeType?: string | undefined;
173
+ sizes?: string[] | undefined;
174
+ theme?: "light" | "dark" | undefined;
175
+ }[] | undefined;
176
+ title?: string | undefined;
177
+ } | {
178
+ type: "resource";
179
+ resource: {
180
+ uri: string;
181
+ text: string;
182
+ mimeType?: string | undefined;
183
+ _meta?: {
184
+ [x: string]: unknown;
185
+ } | undefined;
186
+ } | {
187
+ uri: string;
188
+ blob: string;
189
+ mimeType?: string | undefined;
190
+ _meta?: {
191
+ [x: string]: unknown;
192
+ } | undefined;
193
+ };
194
+ annotations?: {
195
+ audience?: ("user" | "assistant")[] | undefined;
196
+ priority?: number | undefined;
197
+ lastModified?: string | undefined;
198
+ } | undefined;
199
+ _meta?: {
200
+ [x: string]: unknown;
201
+ } | undefined;
202
+ })[];
203
+ _meta?: {
204
+ [x: string]: unknown;
205
+ progressToken?: string | number | undefined;
206
+ "io.modelcontextprotocol/related-task"?: {
207
+ taskId: string;
208
+ } | undefined;
209
+ } | undefined;
210
+ structuredContent?: {
211
+ [x: string]: unknown;
212
+ } | undefined;
213
+ isError?: boolean | undefined;
214
+ } | {
215
+ content: never[];
216
+ structuredContent: {
217
+ code: string;
218
+ message: any;
219
+ };
220
+ }>;
109
221
  description?: string | undefined;
110
- annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations | undefined;
222
+ _meta?: Record<string, unknown> | undefined;
223
+ annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations;
111
224
  title?: string | undefined;
112
- token?: import("@tsed/di").TokenProvider;
113
- name: string;
225
+ token: import("@tsed/core").Type | import("@tsed/core").AbstractType<any>;
226
+ propertyKey: string | symbol;
114
227
  }>;
@@ -1,6 +1,7 @@
1
- declare const _default: (import("@tsed/di").FactoryTokenProvider<{
2
- inputSchema: Record<string, import("zod").AnyZodObject> | undefined;
3
- outputSchema: Record<string, import("zod").AnyZodObject> | undefined;
1
+ declare const _default: (({
2
+ name: string | undefined;
3
+ inputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
4
+ outputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
4
5
  handler(args: import("@tsed/schema").PropsToShape<{
5
6
  id: import("@tsed/schema").JsonSchema<string>;
6
7
  name: import("@tsed/schema").JsonSchema<string>;
@@ -107,15 +108,16 @@ declare const _default: (import("@tsed/di").FactoryTokenProvider<{
107
108
  message: any;
108
109
  };
109
110
  }>;
110
- _meta?: Record<string, unknown> | undefined;
111
111
  description?: string | undefined;
112
- annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations | undefined;
112
+ _meta?: Record<string, unknown> | undefined;
113
+ annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations;
113
114
  title?: string | undefined;
114
- token?: import("@tsed/di").TokenProvider;
115
- name: string;
116
- }> | import("@tsed/di").FactoryTokenProvider<{
117
- inputSchema: Record<string, import("zod").AnyZodObject> | undefined;
118
- outputSchema: Record<string, import("zod").AnyZodObject> | undefined;
115
+ } & {
116
+ readonly __type: "token_factory";
117
+ }) | ({
118
+ name: string | undefined;
119
+ inputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
120
+ outputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
119
121
  handler(args: import("@tsed/schema").PropsToShape<{
120
122
  cwd: import("@tsed/schema").JsonSchema<string>;
121
123
  }> & {
@@ -222,15 +224,16 @@ declare const _default: (import("@tsed/di").FactoryTokenProvider<{
222
224
  message: any;
223
225
  };
224
226
  }>;
225
- _meta?: Record<string, unknown> | undefined;
226
227
  description?: string | undefined;
227
- annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations | undefined;
228
+ _meta?: Record<string, unknown> | undefined;
229
+ annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations;
228
230
  title?: string | undefined;
229
- token?: import("@tsed/di").TokenProvider;
230
- name: string;
231
- }> | import("@tsed/di").FactoryTokenProvider<{
232
- inputSchema: Record<string, import("zod").AnyZodObject> | undefined;
233
- outputSchema: Record<string, import("zod").AnyZodObject> | undefined;
231
+ } & {
232
+ readonly __type: "token_factory";
233
+ }) | ({
234
+ name: string | undefined;
235
+ inputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
236
+ outputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
234
237
  handler(args: import("@tsed/schema").PropsToShape<{
235
238
  search: import("@tsed/schema").JsonSchema<string>;
236
239
  }>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
@@ -335,11 +338,11 @@ declare const _default: (import("@tsed/di").FactoryTokenProvider<{
335
338
  message: any;
336
339
  };
337
340
  }>;
338
- _meta?: Record<string, unknown> | undefined;
339
341
  description?: string | undefined;
340
- annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations | undefined;
342
+ _meta?: Record<string, unknown> | undefined;
343
+ annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations;
341
344
  title?: string | undefined;
342
- token?: import("@tsed/di").TokenProvider;
343
- name: string;
344
- }>)[];
345
+ } & {
346
+ readonly __type: "token_factory";
347
+ }))[];
345
348
  export default _default;
@@ -1,6 +1,7 @@
1
1
  export declare const initProjectTool: import("@tsed/cli-core").FactoryTokenProvider<{
2
- inputSchema: Record<string, import("zod").AnyZodObject> | undefined;
3
- outputSchema: Record<string, import("zod").AnyZodObject> | undefined;
2
+ name: string | undefined;
3
+ inputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
4
+ outputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
4
5
  handler(args: import("@tsed/schema").PropsToShape<{
5
6
  cwd: import("@tsed/schema").JsonSchema<string>;
6
7
  }> & {
@@ -107,10 +108,124 @@ export declare const initProjectTool: import("@tsed/cli-core").FactoryTokenProvi
107
108
  message: any;
108
109
  };
109
110
  }>;
111
+ description?: string | undefined;
110
112
  _meta?: Record<string, unknown> | undefined;
113
+ annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations;
114
+ title?: string | undefined;
115
+ } | {
116
+ name: string | undefined;
117
+ inputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
118
+ outputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
119
+ handler(args: import("@tsed/schema").PropsToShape<{
120
+ cwd: import("@tsed/schema").JsonSchema<string>;
121
+ }> & {
122
+ [x: string]: unknown;
123
+ }, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
124
+ [x: string]: unknown;
125
+ content: ({
126
+ type: "text";
127
+ text: string;
128
+ annotations?: {
129
+ audience?: ("user" | "assistant")[] | undefined;
130
+ priority?: number | undefined;
131
+ lastModified?: string | undefined;
132
+ } | undefined;
133
+ _meta?: {
134
+ [x: string]: unknown;
135
+ } | undefined;
136
+ } | {
137
+ type: "image";
138
+ data: string;
139
+ mimeType: string;
140
+ annotations?: {
141
+ audience?: ("user" | "assistant")[] | undefined;
142
+ priority?: number | undefined;
143
+ lastModified?: string | undefined;
144
+ } | undefined;
145
+ _meta?: {
146
+ [x: string]: unknown;
147
+ } | undefined;
148
+ } | {
149
+ type: "audio";
150
+ data: string;
151
+ mimeType: string;
152
+ annotations?: {
153
+ audience?: ("user" | "assistant")[] | undefined;
154
+ priority?: number | undefined;
155
+ lastModified?: string | undefined;
156
+ } | undefined;
157
+ _meta?: {
158
+ [x: string]: unknown;
159
+ } | undefined;
160
+ } | {
161
+ uri: string;
162
+ name: string;
163
+ type: "resource_link";
164
+ description?: string | undefined;
165
+ mimeType?: string | undefined;
166
+ annotations?: {
167
+ audience?: ("user" | "assistant")[] | undefined;
168
+ priority?: number | undefined;
169
+ lastModified?: string | undefined;
170
+ } | undefined;
171
+ _meta?: {
172
+ [x: string]: unknown;
173
+ } | undefined;
174
+ icons?: {
175
+ src: string;
176
+ mimeType?: string | undefined;
177
+ sizes?: string[] | undefined;
178
+ theme?: "light" | "dark" | undefined;
179
+ }[] | undefined;
180
+ title?: string | undefined;
181
+ } | {
182
+ type: "resource";
183
+ resource: {
184
+ uri: string;
185
+ text: string;
186
+ mimeType?: string | undefined;
187
+ _meta?: {
188
+ [x: string]: unknown;
189
+ } | undefined;
190
+ } | {
191
+ uri: string;
192
+ blob: string;
193
+ mimeType?: string | undefined;
194
+ _meta?: {
195
+ [x: string]: unknown;
196
+ } | undefined;
197
+ };
198
+ annotations?: {
199
+ audience?: ("user" | "assistant")[] | undefined;
200
+ priority?: number | undefined;
201
+ lastModified?: string | undefined;
202
+ } | undefined;
203
+ _meta?: {
204
+ [x: string]: unknown;
205
+ } | undefined;
206
+ })[];
207
+ _meta?: {
208
+ [x: string]: unknown;
209
+ progressToken?: string | number | undefined;
210
+ "io.modelcontextprotocol/related-task"?: {
211
+ taskId: string;
212
+ } | undefined;
213
+ } | undefined;
214
+ structuredContent?: {
215
+ [x: string]: unknown;
216
+ } | undefined;
217
+ isError?: boolean | undefined;
218
+ } | {
219
+ content: never[];
220
+ structuredContent: {
221
+ code: string;
222
+ message: any;
223
+ };
224
+ }>;
111
225
  description?: string | undefined;
112
- annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations | undefined;
226
+ _meta?: Record<string, unknown> | undefined;
227
+ annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations;
113
228
  title?: string | undefined;
114
- token?: import("@tsed/cli-core").TokenProvider;
115
- name: string;
229
+ token: import("@tsed/cli-core").Type | import("@tsed/cli-core").AbstractType<any>;
230
+ propertyKey: string | symbol;
116
231
  }>;
@@ -1,6 +1,7 @@
1
1
  export declare const listTemplatesTool: import("@tsed/di").FactoryTokenProvider<{
2
- inputSchema: Record<string, import("zod").AnyZodObject> | undefined;
3
- outputSchema: Record<string, import("zod").AnyZodObject> | undefined;
2
+ name: string | undefined;
3
+ inputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
4
+ outputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
4
5
  handler(args: import("@tsed/schema").PropsToShape<{
5
6
  search: import("@tsed/schema").JsonSchema<string>;
6
7
  }>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
@@ -105,10 +106,122 @@ export declare const listTemplatesTool: import("@tsed/di").FactoryTokenProvider<
105
106
  message: any;
106
107
  };
107
108
  }>;
109
+ description?: string | undefined;
108
110
  _meta?: Record<string, unknown> | undefined;
111
+ annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations;
112
+ title?: string | undefined;
113
+ } | {
114
+ name: string | undefined;
115
+ inputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
116
+ outputSchema: import("zod").ZodObject<import("zod/v4/core").$ZodLooseShape, import("zod/v4/core").$strip> | undefined;
117
+ handler(args: import("@tsed/schema").PropsToShape<{
118
+ search: import("@tsed/schema").JsonSchema<string>;
119
+ }>, extra: import("@modelcontextprotocol/sdk/shared/protocol.js").RequestHandlerExtra<import("@modelcontextprotocol/sdk/types.js").ServerRequest, import("@modelcontextprotocol/sdk/types.js").ServerNotification>): Promise<{
120
+ [x: string]: unknown;
121
+ content: ({
122
+ type: "text";
123
+ text: string;
124
+ annotations?: {
125
+ audience?: ("user" | "assistant")[] | undefined;
126
+ priority?: number | undefined;
127
+ lastModified?: string | undefined;
128
+ } | undefined;
129
+ _meta?: {
130
+ [x: string]: unknown;
131
+ } | undefined;
132
+ } | {
133
+ type: "image";
134
+ data: string;
135
+ mimeType: string;
136
+ annotations?: {
137
+ audience?: ("user" | "assistant")[] | undefined;
138
+ priority?: number | undefined;
139
+ lastModified?: string | undefined;
140
+ } | undefined;
141
+ _meta?: {
142
+ [x: string]: unknown;
143
+ } | undefined;
144
+ } | {
145
+ type: "audio";
146
+ data: string;
147
+ mimeType: string;
148
+ annotations?: {
149
+ audience?: ("user" | "assistant")[] | undefined;
150
+ priority?: number | undefined;
151
+ lastModified?: string | undefined;
152
+ } | undefined;
153
+ _meta?: {
154
+ [x: string]: unknown;
155
+ } | undefined;
156
+ } | {
157
+ uri: string;
158
+ name: string;
159
+ type: "resource_link";
160
+ description?: string | undefined;
161
+ mimeType?: string | undefined;
162
+ annotations?: {
163
+ audience?: ("user" | "assistant")[] | undefined;
164
+ priority?: number | undefined;
165
+ lastModified?: string | undefined;
166
+ } | undefined;
167
+ _meta?: {
168
+ [x: string]: unknown;
169
+ } | undefined;
170
+ icons?: {
171
+ src: string;
172
+ mimeType?: string | undefined;
173
+ sizes?: string[] | undefined;
174
+ theme?: "light" | "dark" | undefined;
175
+ }[] | undefined;
176
+ title?: string | undefined;
177
+ } | {
178
+ type: "resource";
179
+ resource: {
180
+ uri: string;
181
+ text: string;
182
+ mimeType?: string | undefined;
183
+ _meta?: {
184
+ [x: string]: unknown;
185
+ } | undefined;
186
+ } | {
187
+ uri: string;
188
+ blob: string;
189
+ mimeType?: string | undefined;
190
+ _meta?: {
191
+ [x: string]: unknown;
192
+ } | undefined;
193
+ };
194
+ annotations?: {
195
+ audience?: ("user" | "assistant")[] | undefined;
196
+ priority?: number | undefined;
197
+ lastModified?: string | undefined;
198
+ } | undefined;
199
+ _meta?: {
200
+ [x: string]: unknown;
201
+ } | undefined;
202
+ })[];
203
+ _meta?: {
204
+ [x: string]: unknown;
205
+ progressToken?: string | number | undefined;
206
+ "io.modelcontextprotocol/related-task"?: {
207
+ taskId: string;
208
+ } | undefined;
209
+ } | undefined;
210
+ structuredContent?: {
211
+ [x: string]: unknown;
212
+ } | undefined;
213
+ isError?: boolean | undefined;
214
+ } | {
215
+ content: never[];
216
+ structuredContent: {
217
+ code: string;
218
+ message: any;
219
+ };
220
+ }>;
109
221
  description?: string | undefined;
110
- annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations | undefined;
222
+ _meta?: Record<string, unknown> | undefined;
223
+ annotations?: import("@modelcontextprotocol/sdk/types.js").ToolAnnotations;
111
224
  title?: string | undefined;
112
- token?: import("@tsed/di").TokenProvider;
113
- name: string;
225
+ token: import("@tsed/core").Type | import("@tsed/core").AbstractType<any>;
226
+ propertyKey: string | symbol;
114
227
  }>;