Update schema to latest
This commit is contained in:
parent
9a1ee2962e
commit
d2c8ced0b8
1 changed files with 24 additions and 2 deletions
|
|
@ -331,6 +331,21 @@ export interface Resource {
|
|||
* @format uri
|
||||
*/
|
||||
uri: string;
|
||||
|
||||
/**
|
||||
* A human-readable name for this resource.
|
||||
*
|
||||
* This can be used by clients to populate UI elements.
|
||||
*/
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* A description of what this resource represents.
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
description?: string;
|
||||
|
||||
/**
|
||||
* The MIME type of this resource, if known.
|
||||
*/
|
||||
|
|
@ -347,14 +362,21 @@ export interface ResourceTemplate {
|
|||
* @format uri-template
|
||||
*/
|
||||
uriTemplate: string;
|
||||
|
||||
/**
|
||||
* A human-readable name for the type of resource this template refers to.
|
||||
*
|
||||
* This can be used by clients to populate UI elements.
|
||||
*/
|
||||
name?: string;
|
||||
name: string;
|
||||
|
||||
/**
|
||||
* A human-readable description of what this template is for.
|
||||
* A description of what this template is for.
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
description?: string;
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue