View a markdown version of this page

HarnessMessageStopEvent - Amazon Bedrock AgentCore Data Plane

HarnessMessageStopEvent

Event indicating the end of a message.

Contents

stopReason

The reason the agent stopped generating.

Type: String

Valid Values: end_turn | tool_use | tool_result | max_tokens | stop_sequence | content_filtered | malformed_model_output | malformed_tool_use | interrupted | partial_turn | model_context_window_exceeded | max_iterations_exceeded | max_output_tokens_exceeded | timeout_exceeded

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: