ToolSpecification

interface ToolSpecification<T>

Interface for tool specifications, abstracting over execution mode.

Parameters

T

the type of handler for the tool

Properties

Link copied to clipboard
abstract val handler: T

the handler implementation for the tool

Link copied to clipboard
abstract val tool: <Error class: unknown class>

the MCP tool definition

Functions

Link copied to clipboard

Returns the description of the tool, or "No description" if absent.

Link copied to clipboard
open fun toolName(): String

Returns the name of the tool.