ChatToolSelection

@Serializable
data class ChatToolSelection(val type: String, val custom: FunctionToolChoice? = null, val allowedTools: ChatAllowedTools? = null)

Select a custom tool or an allowed tool subset.

Constructors

Link copied to clipboard
constructor(type: String, custom: FunctionToolChoice? = null, allowedTools: ChatAllowedTools? = null)

Properties

Link copied to clipboard
@SerialName(value = "allowed_tools")
val allowedTools: ChatAllowedTools? = null

Restricted selection policy.

Link copied to clipboard

Named custom tool.

Link copied to clipboard

custom or allowed_tools.