Skip to content

ContentBody

Structure Class

ContentBody dataclass

Bases: _SerdeShape

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 = ...

The body of the API response.

images class-attribute instance-attribute
images: list[ImageInput] | 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.