Skip to content

Bedrock Agent Runtime  >  Structures  >  ContentBody

ContentBody

Structure Class

ContentBody dataclass

Contains the body of the API response.

This data type is used in the following API operations:

Attributes

body class-attribute instance-attribute
body: str | None = None

The body of the API response.

images class-attribute instance-attribute
images: list[ImageInput] | None = None

Lists details, including format and source, for the image in the response from the function call. You can specify only one image and the function in the returnControlInvocationResults must be a computer use action. For more information, see Configure an Amazon Bedrock Agent to complete tasks with computer use tools.