Skip to content

agents / Exports / IToolExecutionService

Interface: IToolExecutionService

Interface for tool execution service operations

Table of contents

Methods

Methods

executeTool

executeTool(toolName, parameters): Promise<TUniversalValue>

Execute a single tool

Parameters

NameType
toolNamestring
parametersTToolExecutionParameters

Returns

Promise<TUniversalValue>

Defined in

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


executeToolsParallel

executeToolsParallel(toolCalls): Promise<TUniversalValue[]>

Execute multiple tools in parallel

Parameters

NameType
toolCallsIToolExecutionRequest[]

Returns

Promise<TUniversalValue[]>

Defined in

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


executeToolsSequential

executeToolsSequential(toolCalls): Promise<TUniversalValue[]>

Execute multiple tools sequentially

Parameters

NameType
toolCallsIToolExecutionRequest[]

Returns

Promise<TUniversalValue[]>

Defined in

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

Released under the MIT License.