Add required field to tool input (#24)
This commit is contained in:
parent
c9b90290df
commit
512e7b65aa
1 changed files with 1 additions and 0 deletions
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue