ResourceTemplate
MCP resource template
Inherits: ResourceItem
Operations
New
Constructor
New(uri:Url, name:String, title:String, description:String, mime_type:String)Parameters
| Name | Type | Description |
|---|---|---|
| uri | Url | resource URI template |
| name | String | resource name |
| title | String | resource title |
| description | String | resource description |
| mime_type | String | MIME type |
ToJson
Converts to JSON element
method : public : ToJson() ~ JsonElementReturn
| Type | Description |
|---|---|
| JsonElement | JSON element |