AIAgentEnvironmentToolResultToAgentContent
data class AIAgentEnvironmentToolResultToAgentContent(val toolCallId: String?, val toolName: String, val agentId: String, val message: String, val toolResult: ToolResult? = null) : EnvironmentToolResultToAgentContent(source)
Represents the content of tool result messages sent to an agent after a tool call is executed within the local environment. This provides the result of the tool execution alongside metadata such as the tool's name, the related agent identifier, and the tool call identifier if applicable.
Constructors
Link copied to clipboard
constructor(toolCallId: String?, toolName: String, agentId: String, message: String, toolResult: ToolResult? = null)