Skip to content

ContentBody

Source code in docs_src/capo_bedrock_agent_runtime/types/content_body.py
class ContentBody(TypedDict, closed=True):
    body: NotRequired["str"]
    """<p>The body of the API response.</p>"""
    images: NotRequired["capo_bedrock_agent_runtime.types.image_inputs.ImageInputs"]
    """<p>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 <code>returnControlInvocationResults</code> must be a computer use action. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>. </p>"""

body instance-attribute

body: NotRequired[str]

The body of the API response.

images instance-attribute

images: NotRequired[ImageInputs]

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.