Class ToolCall
java.lang.Object
ai.redouble.nucleo.tools.ToolCall
Represents a single tool invocation request from the LLM.
The input is stored as Object because at parse time we don't know the specific type each tool expects. Type conversion happens in ThinkingResponseHandler using the ToolRegistry.
- Since:
- 0.1 (2025-09-19)
- Author:
- Andrey Santrosyan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInput()voidvoidsetParseError(CorrectableLLMException parseError) voidsetToolName(String toolName) voidsetToolUseId(String toolUseId)
-
Constructor Details
-
ToolCall
public ToolCall() -
ToolCall
-
-
Method Details
-
getToolName
-
setToolName
-
getInput
-
setInput
-
getToolUseId
-
setToolUseId
-
getParseError
-
setParseError
-