Skip to content

Bedrock Runtime  >  Structures  >  ToolConfiguration

ToolConfiguration

Structure Class

ToolConfiguration dataclass

Configuration information for the tools that you pass to a model. For more information, see Tool use (function calling) in the Amazon Bedrock User Guide.

Attributes

tool_choice class-attribute instance-attribute
tool_choice: ToolChoice | None = None

If supported by model, forces the model to request a tool.

tools instance-attribute
tools: list[Tool]

An array of tools that you want to pass to a model.