ToolOutput

@Serializable
data class ToolOutput(val toolCallId: ToolId? = null, val output: String? = null)

Represents a tool output.

Constructors

Link copied to clipboard
constructor(toolCallId: ToolId? = null, output: String? = null)

Properties

Link copied to clipboard
val output: String? = null

The output of the tool call to be submitted to continue the run.

Link copied to clipboard
val toolCallId: ToolId? = null

The ID of the tool call in the required_action object within the run object the output is being submitted for.