AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The tool result content block. For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.
Namespace: Amazon.BedrockRuntime.Model
Assembly: AWSSDK.BedrockRuntime.dll
Version: 3.x.y.z
public class ToolResultContentBlock
The ToolResultContentBlock type exposes the following members
| Name | Description | |
|---|---|---|
|
ToolResultContentBlock() |
| Name | Type | Description | |
|---|---|---|---|
|
Document | Amazon.BedrockRuntime.Model.DocumentBlock |
Gets and sets the property Document. A tool result that is a document. |
|
Image | Amazon.BedrockRuntime.Model.ImageBlock |
Gets and sets the property Image. A tool result that is an image. This field is only supported by Amazon Nova and Anthropic Claude 3 and 4 models. |
|
Json | Amazon.Runtime.Documents.Document |
Gets and sets the property Json. A tool result that is JSON format data. |
|
SearchResult | Amazon.BedrockRuntime.Model.SearchResultBlock |
Gets and sets the property SearchResult. A tool result that is a search result. |
|
Text | System.String |
Gets and sets the property Text. A tool result that is text. |
|
Video | Amazon.BedrockRuntime.Model.VideoBlock |
Gets and sets the property Video. A tool result that is video. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer