ToolInputSchema

sealed class ToolInputSchema

The schema for the tool. The top level schema type must be object.

Inheritors

Types

Link copied to clipboard
data class Json(val value: Document) : ToolInputSchema

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

Link copied to clipboard

Functions

Link copied to clipboard

Casts this ToolInputSchema as a Json and retrieves its aws.smithy.kotlin.runtime.content.Document value. Throws an exception if the ToolInputSchema is not a Json.

Link copied to clipboard

Casts this ToolInputSchema as a Json and retrieves its aws.smithy.kotlin.runtime.content.Document value. Returns null if the ToolInputSchema is not a Json.