Skip to main content
Represents a request to execute tool calls. This class encapsulates a request for tool execution, containing the tool calls to be executed.

Constructor

new ToolCallRequest(
    toolCalls: ToolCallInterface[]
): ToolCallRequest
Creates a new ToolCallRequest instance.

Parameters

toolCalls (ToolCallInterface[]) The tool calls to execute.

Returns

ToolCallRequest Overrides: AbstractApiDataType.constructor

Properties

toolCalls

readonly toolCalls: ToolCallInterface[]
The tool calls to be executed.