CustomToolCallItem

@Serializable
class CustomToolCallItem(val callId: String, val name: String, val input: String, val id: String? = null, val status: ResponseStatus? = null) : ResponseItem

A call to the apply_patch custom tool, which takes free-form input instead of JSON arguments.

Constructors

Link copied to clipboard
constructor(callId: String, name: String, input: String, id: String? = null, status: ResponseStatus? = null)

Properties

Link copied to clipboard

Identifier pairing the call with its CustomToolCallOutputItem.

Link copied to clipboard
val id: String?

Identifier the API assigned to the item; null on an item the caller built.

Link copied to clipboard

Raw input the model generated for the tool.

Link copied to clipboard

Name of the custom tool; the API only serves apply_patch.

Link copied to clipboard

Generation state of the item; null on an item the caller built.

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