Interface ToolExecutor

All Known Implementing Classes:
DefaultToolExecutor

public interface ToolExecutor
A low-level executor/handler of a ToolExecutionRequest.
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(ToolExecutionRequest toolExecutionRequest, Object memoryId)
    Executes a tool requests.
  • Method Details

    • execute

      String execute(ToolExecutionRequest toolExecutionRequest, Object memoryId)
      Executes a tool requests.
      Parameters:
      toolExecutionRequest - The tool execution request. Contains tool name and arguments.
      memoryId - The ID of the chat memory. See MemoryId for more details.
      Returns:
      The result of the tool execution.