Skip to content

agent-core / 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
parametersTToolParameters

Returns

Promise<TUniversalValue>

Defined in

packages/agent-core/src/interfaces/service.ts:214


executeToolsParallel

executeToolsParallel(toolCalls): Promise<TUniversalValue[]>

Execute multiple tools in parallel

Parameters

NameType
toolCallsIToolExecutionRequest[]

Returns

Promise<TUniversalValue[]>

Defined in

packages/agent-core/src/interfaces/service.ts:219


executeToolsSequential

executeToolsSequential(toolCalls): Promise<TUniversalValue[]>

Execute multiple tools sequentially

Parameters

NameType
toolCallsIToolExecutionRequest[]

Returns

Promise<TUniversalValue[]>

Defined in

packages/agent-core/src/interfaces/service.ts:224

Released under the MIT License.