ToolSpec

data class ToolSpec(val value: ToolSpecification) : Tool

The specfication for the tool.

Constructors

Link copied to clipboard
constructor(value: ToolSpecification)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.