Search Results for

    Show / Hide Table of Contents

    Class ContentBlock

    Content generated by the model. (Only response, don't use this for request.)

    Inheritance
    object
    ContentBlock
    CodeExecutionToolResultContent
    ContainerUploadBlock
    McpToolResultContent
    McpToolUseBlock
    RedactedThinkingBlock
    ServerToolUseBlock
    TextBlock
    ThinkingBlock
    ToolUseBlock
    WebSearchToolResultContent
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Anthropic
    Assembly: Glitch9.AIDevKit.Provider.Anthropic.dll
    Syntax
    [JsonConverter(typeof(ContentBlockJsonConverter))]
    public abstract class ContentBlock

    Properties

    | Edit this page View Source

    Type

    Declaration
    [JsonProperty("type")]
    public abstract ContentType Type { get; }
    Property Value
    Type Description
    ContentType

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation