Package 

Interface ClientTool


  • 
    public interface ClientTool
    
                        

    Interface for client-side tools that can be executed by ElevenLabs agents

    Client tools allow agents to trigger custom functionality in your application, such as accessing device capabilities, updating UI, or calling external APIs.

    • Method Summary

      Modifier and Type Method Description
      abstract ClientToolResult execute(Map<String, Object> parameters) Execute the tool with the provided parameters
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • execute

         abstract ClientToolResult execute(Map<String, Object> parameters)

        Execute the tool with the provided parameters

        Parameters:
        parameters - Map of parameter names to values provided by the agent