ToolDefinition

A tool definition for a gateway target. This structure defines a tool that the target exposes through the Model Context Protocol.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The description of the tool. This description provides information about the purpose and usage of the tool.

Link copied to clipboard

The input schema for the tool. This schema defines the structure of the input that the tool accepts.

Link copied to clipboard

The name of the tool. This name identifies the tool in the Model Context Protocol.

Link copied to clipboard

The output schema for the tool. This schema defines the structure of the output that the tool produces.

Functions

Link copied to clipboard
inline fun copy(block: ToolDefinition.Builder.() -> Unit = {}): ToolDefinition
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String