Skip to content

Commit 512e7b6

Browse files
authored
Add required field to tool input (#24)
1 parent c9b9029 commit 512e7b6

File tree

1 file changed

+1
-0
lines changed
  • src/main/kotlin/io/modelcontextprotocol/kotlin/sdk

1 file changed

+1
-0
lines changed

src/main/kotlin/io/modelcontextprotocol/kotlin/sdk/types.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,6 +1003,7 @@ public data class Tool(
10031003
@Serializable
10041004
public data class Input(
10051005
val properties: JsonObject = EmptyJsonObject,
1006+
val required: List<String>? = null,
10061007
) {
10071008
val type: String = "object"
10081009
}

0 commit comments

Comments
 (0)