Table of Contents

Method RegisterTool

Namespace
LMKit.Mcp.Server
Assembly
LM-Kit.NET.dll

RegisterTool(ITool)

Registers a tool. Registering a name that is already present replaces the previous tool.

public void RegisterTool(ITool tool)

Parameters

tool ITool

The tool to expose.

Exceptions

ArgumentNullException

The tool is null.

ArgumentException

The tool has no name.

Share