Add required field to tool input (#24)

This commit is contained in:
Konstantin Aleev 2024-12-21 20:38:19 +01:00 • committed by GitHub
commit 512e7b65aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1003,6 +1003,7 @@ public data class Tool(
@Serializable
public data class Input(
val properties: JsonObject = EmptyJsonObject,
val required: List<String>? = null,
) {
val type: String = "object"
}