Class AgentToolProgressEvent


  • public final class AgentToolProgressEvent
    extends ConversationStreamEvent
    Emitted for each inner tool call the delegated Agent makes.
    • Constructor Detail

      • AgentToolProgressEvent

        public AgentToolProgressEvent()
    • Method Detail

      • getNodeId

        public String getNodeId()
        Returns the ID of the calling node.
        Returns:
        ID of the calling node
      • getAgentToolName

        public String getAgentToolName()
        Returns the identifier of the Agent being called.
        Returns:
        identifier of the Agent being called
      • getInnerToolName

        public String getInnerToolName()
        Returns the name of the inner tool the delegated Agent called.
        Returns:
        name of the inner tool the delegated Agent called
      • getInnerToolArgs

        public String getInnerToolArgs()
        Returns the arguments of that inner call, as a JSON string.
        Returns:
        arguments of that inner call (JSON string)
      • getStatus

        public String getStatus()
        Returns the status of the inner call: running / succeeded / failed.
        Returns:
        status of the inner call
      • getDurationMs

        public long getDurationMs()
        Returns the duration of the inner call in milliseconds.
        Returns:
        duration of the inner call in milliseconds
      • getStartedAt

        public long getStartedAt()
        Returns the start time, Unix timestamp in seconds.
        Returns:
        start time
      • isThinking

        public boolean isThinking()
        Returns whether the call happened during the thinking phase.
        Returns:
        true if during the thinking phase