Skip to content

FinalResponse

Source code in docs_src/capo_bedrock_agent_runtime/types/final_response.py
class FinalResponse(TypedDict, closed=True):
    text: NotRequired[
        "capo_bedrock_agent_runtime.types.final_response_string.FinalResponseString"
    ]
    """<p>The text in the response to the user.</p>"""
    metadata: NotRequired["capo_bedrock_agent_runtime.types.metadata.Metadata"]
    """<p>Contains information about the invoke agent operation.</p>"""

metadata instance-attribute

metadata: NotRequired[Metadata]

Contains information about the invoke agent operation.

text instance-attribute

text: NotRequired[FinalResponseString]

The text in the response to the user.