CustomToolCallOutputItem

@Serializable
class CustomToolCallOutputItem(val callId: String, val output: ResponseContent) : ResponseItem

The result of running a CustomToolCallItem.

Constructors

Link copied to clipboard
constructor(callId: String, output: ResponseContent)
constructor(callId: String, output: String)

Creates a textual custom tool result.

constructor(callId: String, output: List<ResponseContentPart>)

Creates a custom tool result made of content parts.

Properties

Link copied to clipboard

Identifier of the CustomToolCallItem this output answers.

Link copied to clipboard

Tool result, as text or as content parts.

Link copied to clipboard
open override val type: String

Raw type discriminator of the item.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String