Skip to content

ToolInputSchema

Union Type

ToolInputSchema module-attribute

The input schema for the tool. For more information, see Use a tool to complete an Amazon Bedrock model response.

Union Member Types

ToolInputSchemaJson dataclass

Bases: _SerdeShape

A JSON object defining the input schema for the tool.

Attributes

value instance-attribute
value: Document

ToolInputSchemaUnknown 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