ToolCallCompletedContext
data class ToolCallCompletedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val runId: String, val toolCallId: String?, val toolName: String, val toolDescription: String?, val toolArgs: JsonObject, val toolResult: JsonElement?, val context: AIAgentContext) : ToolCallEventContext(source)
Represents the context used when handling the result of a tool call.
Constructors
Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, runId: String, toolCallId: String?, toolName: String, toolDescription: String?, toolArgs: JsonObject, toolResult: JsonElement?, context: AIAgentContext)
Properties
Link copied to clipboard
The AI agent context associated with the tool call.
Link copied to clipboard
Represents the specific type of event handled within the event handler context, categorizing the nature of agent-related or strategy-related events.
Link copied to clipboard
The execution information containing parentId and current execution path;
Link copied to clipboard
The arguments required by the tool for execution;
Link copied to clipboard
The unique identifier for this tool call;
Link copied to clipboard
A description of the tool being executed;
Link copied to clipboard
An optional result produced by the tool after execution can be null if not applicable;