Skip to content

Commit c95c6ef

Browse files
committed
retain default value for _meta for client
1 parent 12149c0 commit c95c6ef

File tree

1 file changed

+1
-1
lines changed
  • kotlin-sdk-core/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk

1 file changed

+1
-1
lines changed

kotlin-sdk-core/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/types.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ public data class Tool(
12461246
/**
12471247
* Optional metadata for the tool.
12481248
*/
1249-
override val _meta: JsonObject,
1249+
override val _meta: JsonObject = EmptyJsonObject,
12501250
) : WithMeta {
12511251
@Serializable
12521252
public data class Input(val properties: JsonObject = EmptyJsonObject, val required: List<String>? = null) {

0 commit comments

Comments
 (0)