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
Name | Type |
---|---|
toolName | string |
parameters | ToolExecutionParameters |
Returns
Promise
<ToolExecutionData
>
Defined in
packages/agents/src/interfaces/service.ts:211
executeToolsParallel
▸ executeToolsParallel(toolCalls
): Promise
<ToolExecutionData
[]>
Execute multiple tools in parallel
Parameters
Name | Type |
---|---|
toolCalls | ToolExecutionRequest [] |
Returns
Promise
<ToolExecutionData
[]>
Defined in
packages/agents/src/interfaces/service.ts:216
executeToolsSequential
▸ executeToolsSequential(toolCalls
): Promise
<ToolExecutionData
[]>
Execute multiple tools sequentially
Parameters
Name | Type |
---|---|
toolCalls | ToolExecutionRequest [] |
Returns
Promise
<ToolExecutionData
[]>