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.
strict
class-attribute
instance-attribute
¶
strict: bool | None = None
Flag to enable structured output enforcement on a tool usage response.