File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -333,12 +333,19 @@ export interface Resource {
333
333
uri : string ;
334
334
335
335
/**
336
- * An optional human-readable name for this resource.
336
+ * A human-readable name for this resource.
337
337
*
338
338
* This can be used by clients to populate UI elements.
339
339
*/
340
340
name : string ;
341
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
+
342
349
/**
343
350
* The MIME type of this resource, if known.
344
351
*/
@@ -355,14 +362,21 @@ export interface ResourceTemplate {
355
362
* @format uri-template
356
363
*/
357
364
uriTemplate : string ;
365
+
358
366
/**
359
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.
360
370
*/
361
371
name : string ;
372
+
362
373
/**
363
- * 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.
364
377
*/
365
378
description ?: string ;
379
+
366
380
/**
367
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.
368
382
*/
You can’t perform that action at this time.
0 commit comments