Skip to content

Bedrock Runtime  >  Structures  >  ToolSpecification

ToolSpecification

Structure Class

ToolSpecification dataclass

The specification for the tool. For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.

Attributes

description class-attribute instance-attribute
description: str | None = None

The description for the tool.

input_schema instance-attribute
input_schema: ToolInputSchema

The input schema for the tool in JSON format.

name instance-attribute
name: str

The name for the tool.

strict class-attribute instance-attribute
strict: bool | None = None

Flag to enable structured output enforcement on a tool usage response.