Package com.longbridge.agent
Class NodeToolUseOutputs
- java.lang.Object
-
- com.longbridge.agent.NodeToolUseOutputs
-
public class NodeToolUseOutputs extends Object
Theoutputssub-object of aNodeToolUseFinishedEvent— only carries fields meant for display.
-
-
Constructor Summary
Constructors Constructor Description NodeToolUseOutputs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetData()Returns the structured result, as JSON text; present only for selected tools.StringgetQuery()Returns the query the tool executed.String[]getReferenceDomains()Returns the domains of the referenced sources.Reference[]getReferences()Returns the sources referenced by the tool result.StringgetText()Returns the raw response text of the tool.StringgetToolArgs()Returns the parsed request arguments, as JSON text.StringtoString()
-
-
-
Method Detail
-
getReferences
public Reference[] getReferences()
Returns the sources referenced by the tool result.- Returns:
- referenced sources
-
getReferenceDomains
public String[] getReferenceDomains()
Returns the domains of the referenced sources.- Returns:
- domains of the referenced sources
-
getQuery
public String getQuery()
Returns the query the tool executed.- Returns:
- the query the tool executed, or
null
-
getText
public String getText()
Returns the raw response text of the tool.- Returns:
- raw response text of the tool, or
null
-
getToolArgs
public String getToolArgs()
Returns the parsed request arguments, as JSON text.- Returns:
- parsed request arguments (JSON text), or
null
-
getData
public String getData()
Returns the structured result, as JSON text; present only for selected tools.- Returns:
- structured result (JSON text), or
null
-
-