File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
kotlin-sdk-core/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -710,6 +710,14 @@ public data class Resource(
710710 * The MIME type of this resource, if known.
711711 */
712712 val mimeType : String? ,
713+ /* *
714+ * The optional human-readable name of this resource for display purposes.
715+ */
716+ val title : String? = null ,
717+ /* *
718+ * The optional size of this resource in bytes, if known.
719+ */
720+ val size : Long? = null ,
713721)
714722
715723/* *
@@ -738,6 +746,10 @@ public data class ResourceTemplate(
738746 * 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.
739747 */
740748 val mimeType : String? ,
749+ /* *
750+ * The optional human-readable name of this resource for display purposes.
751+ */
752+ val title : String? = null ,
741753)
742754
743755/* *
You can’t perform that action at this time.
0 commit comments