Skip to content

ToolConfiguration

Structure Class

ToolConfiguration dataclass

Bases: _SerdeShape

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 = ...

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.