CustomToolGrammar

@Serializable
data class CustomToolGrammar(val definition: String, val syntax: String)

Grammar accepted by a custom tool.

Constructors

Link copied to clipboard
constructor(definition: String, syntax: String)

Properties

Link copied to clipboard
@SerialName(value = "definition")
val definition: String

Grammar source.

Link copied to clipboard
@SerialName(value = "syntax")
val syntax: String

Grammar syntax: lark or regex.