interface AnthropicMessageContentToolResult {
    cache_control?: null | AnthropicCacheControl;
    content: string | AnthropicMessageContentToolResultContent[];
    is_error?: boolean;
    tool_use_id: string;
    type: "tool_result";
}

Hierarchy

  • AnthropicMessageContentBase
    • AnthropicMessageContentToolResult

Properties

cache_control?: null | AnthropicCacheControl
is_error?: boolean
tool_use_id: string
type: "tool_result"