Search Results for

    Show / Hide Table of Contents

    Struct ContentType

    Implements
    IStringWrapper
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Glitch9.AIDevKit.Anthropic
    Assembly: Glitch9.AIDevKit.Provider.Anthropic.dll
    Syntax
    [Serializable]
    public readonly struct ContentType : IStringWrapper

    Constructors

    | Edit this page View Source

    ContentType(string)

    Declaration
    public ContentType(string value)
    Parameters
    Type Name Description
    string value

    Fields

    | Edit this page View Source

    CodeExecutionToolResult

    Declaration
    public const string CodeExecutionToolResult = "code_execution_tool_result"
    Field Value
    Type Description
    string
    | Edit this page View Source

    ContainerUpload

    Declaration
    public const string ContainerUpload = "container_upload"
    Field Value
    Type Description
    string
    | Edit this page View Source

    McpToolResult

    Declaration
    public const string McpToolResult = "mcp_tool_result"
    Field Value
    Type Description
    string
    | Edit this page View Source

    McpToolUse

    Declaration
    public const string McpToolUse = "mcp_tool_use"
    Field Value
    Type Description
    string
    | Edit this page View Source

    RedactedThinking

    Declaration
    public const string RedactedThinking = "redacted_thinking"
    Field Value
    Type Description
    string
    | Edit this page View Source

    ServerToolUse

    Declaration
    public const string ServerToolUse = "server_tool_use"
    Field Value
    Type Description
    string
    | Edit this page View Source

    Text

    Declaration
    public const string Text = "text"
    Field Value
    Type Description
    string
    | Edit this page View Source

    Thinking

    Declaration
    public const string Thinking = "thinking"
    Field Value
    Type Description
    string
    | Edit this page View Source

    ToolUse

    Declaration
    public const string ToolUse = "tool_use"
    Field Value
    Type Description
    string
    | Edit this page View Source

    WebSearchToolResult

    Declaration
    public const string WebSearchToolResult = "web_search_tool_result"
    Field Value
    Type Description
    string

    Properties

    | Edit this page View Source

    Value

    Declaration
    public string Value { get; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()
    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    Operators

    | Edit this page View Source

    implicit operator string(ContentType)

    Declaration
    public static implicit operator string(ContentType enumValue)
    Parameters
    Type Name Description
    ContentType enumValue
    Returns
    Type Description
    string
    | Edit this page View Source

    implicit operator ContentType(string)

    Declaration
    public static implicit operator ContentType(string value)
    Parameters
    Type Name Description
    string value
    Returns
    Type Description
    ContentType

    Implements

    IStringWrapper

    Extension Methods

    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.GetHashCodeOrDefault<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation