Package org.netxms.client.ai
Class AiToolCall
java.lang.Object
org.netxms.client.ai.AiToolCall
AI tool call notification
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGet chat ID this tool call belongs to.Get context window usage at the moment of this tool call.Get user-friendly display name for the tool.Get tool name.
-
Constructor Details
-
AiToolCall
Create tool call object from NXCP message.- Parameters:
msg- NXCP message
-
-
Method Details
-
getChatId
public long getChatId()Get chat ID this tool call belongs to.- Returns:
- chat ID
-
getContextUsage
Get context window usage at the moment of this tool call.- Returns:
- context window usage or null if not provided by server
-
getToolName
Get tool name.- Returns:
- tool name
-
getDisplayName
Get user-friendly display name for the tool. Converts tool names like "get-node-details" to "Getting node details"- Returns:
- display name
-