Package io.camunda.client.protocol.rest
Class AgentInstanceToolCall
java.lang.Object
io.camunda.client.protocol.rest.AgentInstanceToolCall
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class AgentInstanceToolCall
extends Object
A tool call associated with a history item. Used in both ASSISTANT and TOOL_RESULT items. ASSISTANT items carry arguments; TOOL_RESULT items carry arguments as null.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe tool call arguments as provided by the LLM.The BPMN element ID handling this tool.The LLM-assigned tool call ID.The LLM-visible tool name.inthashCode()putArgumentsItem(String key, Object argumentsItem) voidsetArguments(Map<String, Object> arguments) voidsetElementId(String elementId) voidsetToolCallId(String toolCallId) voidsetToolName(String toolName) toolCallId(String toolCallId) toString()
-
Field Details
-
JSON_PROPERTY_TOOL_CALL_ID
- See Also:
-
JSON_PROPERTY_TOOL_NAME
- See Also:
-
JSON_PROPERTY_ELEMENT_ID
- See Also:
-
JSON_PROPERTY_ARGUMENTS
- See Also:
-
-
Constructor Details
-
AgentInstanceToolCall
public AgentInstanceToolCall()
-
-
Method Details
-
toolCallId
-
getToolCallId
The LLM-assigned tool call ID. Correlates ASSISTANT items to their matching TOOL_RESULT items.- Returns:
- toolCallId
-
setToolCallId
-
toolName
-
getToolName
The LLM-visible tool name.- Returns:
- toolName
-
setToolName
-
elementId
-
getElementId
The BPMN element ID handling this tool.- Returns:
- elementId
-
setElementId
-
arguments
-
putArgumentsItem
-
getArguments
The tool call arguments as provided by the LLM. Null on TOOL_RESULT items.- Returns:
- arguments
-
setArguments
-
equals
-
hashCode
public int hashCode() -
toString
-