Class ToolResponded

java.lang.Object
org.openqa.selenium.devtools.v148.webmcp.model.ToolResponded

public class ToolResponded extends Object
Event fired when a tool invocation completes or fails.
  • Constructor Details

  • Method Details

    • getInvocationId

      public String getInvocationId()
      Invocation identifier.
    • getStatus

      public InvocationStatus getStatus()
      Status of the invocation.
    • getOutput

      public Optional<Object> getOutput()
      Output or error delivered as delivered to the agent. Missing if `status` is anything other than Success.
    • getErrorText

      public Optional<String> getErrorText()
      Error text for protocol users.
    • getException

      public Optional<RemoteObject> getException()
      The exception object, if the javascript tool threw an error>