Skip to content

agents / Exports / ToolExecutionServiceInterface

Interface: ToolExecutionServiceInterface

Interface for tool execution service operations

Table of contents

Methods

Methods

executeTool

executeTool(toolName, parameters): Promise<ToolExecutionData>

Execute a single tool

Parameters

NameType
toolNamestring
parametersToolExecutionParameters

Returns

Promise<ToolExecutionData>

Defined in

packages/agents/src/interfaces/service.ts:211


executeToolsParallel

executeToolsParallel(toolCalls): Promise<ToolExecutionData[]>

Execute multiple tools in parallel

Parameters

NameType
toolCallsToolExecutionRequest[]

Returns

Promise<ToolExecutionData[]>

Defined in

packages/agents/src/interfaces/service.ts:216


executeToolsSequential

executeToolsSequential(toolCalls): Promise<ToolExecutionData[]>

Execute multiple tools sequentially

Parameters

NameType
toolCallsToolExecutionRequest[]

Returns

Promise<ToolExecutionData[]>

Defined in

packages/agents/src/interfaces/service.ts:221

Released under the MIT License.