Json

data class Json(val value: <Error class: unknown class>) : ToolInputSchema

The JSON schema that defines the expected input format for the tool.

Constructors

Link copied to clipboard
constructor(value: <Error class: unknown class>)

Properties

Link copied to clipboard
val value: <Error class: unknown class>

Functions

Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
fun asJson(): <Error class: unknown class>

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
fun asJsonOrNull(): <Error class: unknown class>?

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.