Json

data class Json(val value: Document) : ToolInputSchema

A JSON object defining the input schema for the tool.

Constructors

Link copied to clipboard
constructor(value: Document)

Properties

Link copied to clipboard

Inherited 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.