BedrockAnthropicInvokeModelTool

data class BedrockAnthropicInvokeModelTool(val type: String = "custom", val name: String, val description: String? = null, val inputSchema: JsonObject? = null)(source)

Represents a tool used to interact with the Bedrock Anthropic model.

This data class is used to describe a tool with specific properties such as type, name, description, and input schema.

Constructors

Link copied to clipboard
constructor(type: String = "custom", name: String, description: String? = null, inputSchema: JsonObject? = null)

Properties

Link copied to clipboard
val description: String? = null

An optional description of the tool, providing additional context.

Link copied to clipboard
@SerialName(value = "input_schema")
val inputSchema: JsonObject? = null

An optional JSON schema that describes the input structure for the tool.

Link copied to clipboard

The name of the tool.

Link copied to clipboard

Identifies the type of the tool. The default value is "custom".