Skip to content

Tool

Union Type

Tool module-attribute

Information about a tool that you can use with the Converse API. For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.

Union Member Types

ToolToolSpec dataclass

Bases: _SerdeShape

The specfication for the tool.

Attributes

value instance-attribute

ToolSystemTool dataclass

Bases: _SerdeShape

Specifies the system-defined tool that you want use.

Attributes

value instance-attribute
value: SystemTool

ToolCachePoint dataclass

Bases: _SerdeShape

CachePoint to include in the tool configuration.

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