File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -331,6 +331,21 @@ export interface Resource {
331
331
* @format uri
332
332
*/
333
333
uri : string ;
334
+
335
+ /**
336
+ * A human-readable name for this resource.
337
+ *
338
+ * This can be used by clients to populate UI elements.
339
+ */
340
+ name : string ;
341
+
342
+ /**
343
+ * A description of what this resource represents.
344
+ *
345
+ * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model.
346
+ */
347
+ description ?: string ;
348
+
334
349
/**
335
350
* The MIME type of this resource, if known.
336
351
*/
@@ -347,14 +362,21 @@ export interface ResourceTemplate {
347
362
* @format uri-template
348
363
*/
349
364
uriTemplate : string ;
365
+
350
366
/**
351
367
* A human-readable name for the type of resource this template refers to.
368
+ *
369
+ * This can be used by clients to populate UI elements.
352
370
*/
353
- name ?: string ;
371
+ name : string ;
372
+
354
373
/**
355
- * A human-readable description of what this template is for.
374
+ * A description of what this template is for.
375
+ *
376
+ * This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a "hint" to the model.
356
377
*/
357
378
description ?: string ;
379
+
358
380
/**
359
381
* The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type.
360
382
*/
You can’t perform that action at this time.
0 commit comments