Class AgentToolStartedEvent


  • public final class AgentToolStartedEvent
    extends ConversationStreamEvent
    The Agent has delegated to another Agent as a tool. When the Agent delegates to another Agent as a tool, that inner run is reported with the agent_tool_* family — the shape mirrors the subagent events.
    • Constructor Detail

      • AgentToolStartedEvent

        public AgentToolStartedEvent()
    • Method Detail

      • getNodeId

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

        public String getToolUseId()
        Returns the unique ID of this call; matches the finished event.
        Returns:
        unique ID of this call
      • getAgentToolName

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

        public String getTitle()
        Returns the display title; may be empty.
        Returns:
        display title
      • getStartedAt

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

        public String getToolArgs()
        Returns the call arguments as a JSON string.
        Returns:
        call arguments (JSON string)
      • getToolName

        public String getToolName()
        Returns the localized display name.
        Returns:
        localized display name
      • getTips

        public String getTips()
        Returns the progress text; may be empty.
        Returns:
        progress text
      • getTipChips

        public String[] getTipChips()
        Returns the short tags; may be empty.
        Returns:
        short tags
      • isThinking

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