ToolResult

@SerialName(value = "tool_result")
data class ToolResult(val toolUseId: String, val content: String) : AnthropicContent(source)

Represents the result of a tool invocation within the Anthropic content system.

Constructors

Link copied to clipboard
constructor(toolUseId: String, content: String)

Properties

Link copied to clipboard

The output or result generated by the tool invocation.

Link copied to clipboard

The unique identifier of the invoked tool for which this result corresponds.