Skip to content

Tool

Union Type

Tool module-attribute

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

Union Member Types

ToolToolSpec dataclass

Bases: _SerdeShape

The specification for the tool.

Attributes

value instance-attribute

ToolCachePoint dataclass

Bases: _SerdeShape

Creates a cache checkpoint within a tool designation

Attributes

value instance-attribute

ToolUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str