Skip to content

Bedrock Agent  >  Unions  >  Tool

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

The specification for the tool.

Attributes

value instance-attribute

ToolCachePoint dataclass

Creates a cache checkpoint within a tool designation

Attributes

value instance-attribute

ToolUnknown dataclass

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