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.
Inherited Members
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 SourceDocument
Optional. A tool result that is a document.
Declaration
[JsonProperty("document")]
public DocumentBlock Document { get; set; }
Property Value
| Type | Description |
|---|---|
| DocumentBlock |
Image
Optional. A tool result that is an image.
Declaration
[JsonProperty("image")]
public ImageBlock Image { get; set; }
Property Value
| Type | Description |
|---|---|
| ImageBlock |
Json
Optional. A tool result that is JSON format data.
Declaration
[JsonProperty("json")]
public JToken Json { get; set; }
Property Value
| Type | Description |
|---|---|
| JToken |
SearchResult
Optional. A tool result that is a search result.
Declaration
[JsonProperty("searchResult")]
public SearchResultBlock SearchResult { get; set; }
Property Value
| Type | Description |
|---|---|
| SearchResultBlock |
Text
Optional. A tool result that is text.
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Video
Optional. A tool result that is video.
Declaration
[JsonProperty("video")]
public VideoBlock Video { get; set; }
Property Value
| Type | Description |
|---|---|
| VideoBlock |