FunctionTool

@Serializable
@SerialName(value = "function")
data class FunctionTool(val name: String, val parameters: JsonObject, val strict: Boolean? = null, val allowedCallers: List<OpenAIAllowedCallers?> = emptyList(), val async: Boolean? = null, val deferLoading: Boolean? = null, val description: String? = null, val outputSchema: JsonObject? = null) : OpenAIResponsesToolDto

Constructors

Link copied to clipboard
constructor(name: String, parameters: JsonObject, strict: Boolean? = null, allowedCallers: List<OpenAIAllowedCallers?> = emptyList(), async: Boolean? = null, deferLoading: Boolean? = null, description: String? = null, outputSchema: JsonObject? = null)

Properties

Link copied to clipboard
@SerialName(value = "allowed_callers")
val allowedCallers: List<OpenAIAllowedCallers?>
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "defer_loading")
val deferLoading: Boolean?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "output_schema")
val outputSchema: JsonObject?
Link copied to clipboard
val parameters: JsonObject
Link copied to clipboard