ToolSpecification - Amazon Bedrock

ToolSpecification

Contains a specification for a tool. For more information, see Use a tool to complete an Amazon Bedrock model response.

Contents

inputSchema

The input schema for the tool.

Type: ToolInputSchema object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: Yes

name

The name of the tool.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[a-zA-Z][a-zA-Z0-9_]*$

Required: Yes

description

The description of the tool.

Type: String

Length Constraints: Minimum length of 1.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: