Tool
Information about a tool that you can use with the Converse API. For more information, see Tool use (function calling) in the Amazon Bedrock User Guide.
Inheritors
Types
Functions
Casts this Tool as a CachePoint and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.CachePointBlock value. Throws an exception if the Tool is not a CachePoint.
Casts this Tool as a CachePoint and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.CachePointBlock value. Returns null if the Tool is not a CachePoint.
Casts this Tool as a ToolSpec and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.ToolSpecification value. Throws an exception if the Tool is not a ToolSpec.
Casts this Tool as a ToolSpec and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.ToolSpecification value. Returns null if the Tool is not a ToolSpec.