Package com.longbridge.agent
Class NodeToolUseStartedEvent
- java.lang.Object
-
- com.longbridge.agent.ConversationStreamEvent
-
- com.longbridge.agent.NodeToolUseStartedEvent
-
public final class NodeToolUseStartedEvent extends ConversationStreamEvent
An ordinary tool call has started. Match it to itsNodeToolUseFinishedEventcounterpart bygetToolUseId().
-
-
Constructor Summary
Constructors Constructor Description NodeToolUseStartedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIteration()Returns the round number.longgetStartedAt()Returns the start time, Unix timestamp in seconds.String[]getTipChips()Returns the short tags accompanyinggetTips(); may be empty.StringgetTips()Returns progress text suitable for direct display, e.g.StringgetToolArgs()Returns the call arguments as a JSON string.StringgetToolFuncName()Returns the locale-stable tool identifier; use this for logic keyed on the tool kind.StringgetToolName()Returns the localized display name of the tool.StringgetToolUseId()Returns the unique ID of this call; matches the finished event.StringtoString()
-
-
-
Method Detail
-
getToolUseId
public String getToolUseId()
Returns the unique ID of this call; matches the finished event.- Returns:
- unique ID of this call
-
getToolName
public String getToolName()
Returns the localized display name of the tool.- Returns:
- localized display name of the tool
-
getToolFuncName
public String getToolFuncName()
Returns the locale-stable tool identifier; use this for logic keyed on the tool kind.- Returns:
- locale-stable tool identifier
-
getToolArgs
public String getToolArgs()
Returns the call arguments as a JSON string.- Returns:
- call arguments (JSON string)
-
getTips
public String getTips()
Returns progress text suitable for direct display, e.g."Searching the web...".- Returns:
- progress text
-
getTipChips
public String[] getTipChips()
Returns the short tags accompanyinggetTips(); may be empty.- Returns:
- short tags accompanying the tips
-
getIteration
public int getIteration()
Returns the round number. Calls in the same round (samegetIteration()) run in parallel.- Returns:
- round number
-
getStartedAt
public long getStartedAt()
Returns the start time, Unix timestamp in seconds.- Returns:
- start time
-
-