Tool

@Serializable
data class Tool(val name: String, val description: String?, val inputSchema: Tool.Input)(source)

Definition for a tool the client can call.

Constructors

Link copied to clipboard
constructor(name: String, description: String?, inputSchema: Tool.Input)

Types

Link copied to clipboard
@Serializable
data class Input(val properties: JsonObject = EmptyJsonObject)

Properties

Link copied to clipboard

A human-readable description of the tool.

Link copied to clipboard

A JSON object defining the expected parameters for the tool.

Link copied to clipboard

The name of the tool.