Search Results for

    Show / Hide Table of Contents

    Class ToolResultBlock.ToolResultContentBlock

    The tool result content block. For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.

    Inheritance
    object
    ToolResultBlock.ToolResultContentBlock
    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.ToolResultContentBlock
    Remarks

    This data type is a UNION, so only one of the following members can be specified when used or returned.

    Properties

    | Edit this page View Source

    Document

    Optional. A tool result that is a document.

    Declaration
    [JsonProperty("document")]
    public DocumentBlock Document { get; set; }
    Property Value
    Type Description
    DocumentBlock
    | Edit this page View Source

    Image

    Optional. A tool result that is an image.

    Declaration
    [JsonProperty("image")]
    public ImageBlock Image { get; set; }
    Property Value
    Type Description
    ImageBlock
    | Edit this page View Source

    Json

    Optional. A tool result that is JSON format data.

    Declaration
    [JsonProperty("json")]
    public JToken Json { get; set; }
    Property Value
    Type Description
    JToken
    | Edit this page View Source

    SearchResult

    Optional. A tool result that is a search result.

    Declaration
    [JsonProperty("searchResult")]
    public SearchResultBlock SearchResult { get; set; }
    Property Value
    Type Description
    SearchResultBlock
    | Edit this page View Source

    Text

    Optional. A tool result that is text.

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

    Video

    Optional. A tool result that is video.

    Declaration
    [JsonProperty("video")]
    public VideoBlock Video { get; set; }
    Property Value
    Type Description
    VideoBlock

    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