Skip to content

Bedrock Runtime  >  Unions  >  ToolInputSchema

ToolInputSchema

Union Type

ToolInputSchema module-attribute

ToolInputSchema = Union[ToolInputSchemaJson | ToolInputSchemaUnknown]

The schema for the tool. The top level schema type must be object. For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.

Union Member Types

ToolInputSchemaJson dataclass

The JSON schema for the tool. For more information, see JSON Schema Reference.

Attributes

value instance-attribute
value: Document

ToolInputSchemaUnknown 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