SubmitToolCallAction

data class SubmitToolCallAction(val toolCalls: List<ToolCall>) : RequiredAction

Represents a request by the Assistant for a list of tool calls.

Constructors

Link copied to clipboard
constructor(toolCalls: List<ToolCall>)

Properties

Link copied to clipboard

The list of tool calls

Link copied to clipboard
open override val type: RequiredAction.Type

Returns the type of the required action. This is effectively the same as checking the type via Class.isInstance (or instanceof in java, is in Kotlin).