Skip to main content
Represents the result of a tool call execution. This class encapsulates the result from executing a tool call, including the tool call ID and the execution result.

Constructor

new ToolCallResponse(
    toolCallResults: ToolCallResultInterface[]
): ToolCallResponse
Creates a new ToolCallResponse instance.

Parameters

toolCallResults (ToolCallResultInterface[]) The tool call execution results.

Returns

ToolCallResponse Overrides: AbstractApiDataType.constructor

Properties

toolCallResults

readonly toolCallResults: ToolCallResultInterface[]
The tool call execution results.