Skip to content

Bedrock Agent  >  Structures  >  ToolConfiguration

ToolConfiguration

Structure Class

ToolConfiguration dataclass

Configuration information for the tools that the model can use when generating a response. For more information, see Use a tool to complete an Amazon Bedrock model response.

Attributes

tool_choice class-attribute instance-attribute
tool_choice: ToolChoice | None = field(repr=False, default=None)

Defines which tools the model should request when invoked.

tools class-attribute instance-attribute
tools: list[Tool] = field(repr=False)

An array of tools to pass to a model.