Search Results for

    Show / Hide Table of Contents

    Class ToolResultBlock

    Inheritance
    object
    ContentBlock
    ToolResultBlock
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.AmazonAws
    Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
    Syntax
    public class ToolResultBlock : ContentBlock

    Properties

    | Edit this page View Source

    Content

    Required. The content for tool result content block.

    Declaration
    [JsonProperty("content")]
    public ToolResultBlock.ToolResultContentBlock[] Content { get; set; }
    Property Value
    Type Description
    ToolResultContentBlock[]
    | Edit this page View Source

    Status

    Optional. The status for the tool result content block.

    Declaration
    [JsonProperty("status")]
    public string Status { get; set; }
    Property Value
    Type Description
    string
    Remarks

    Valid Values: success | error

    | Edit this page View Source

    ToolUseId

    Required. The ID of the tool request that this is the result for.

    Declaration
    [JsonProperty("toolUseId")]
    public string ToolUseId { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Type

    Optional. The type for the tool result content block.

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

    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