Table of Contents

Method FromError

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

FromError(string)

Creates a failed result. The message should state what went wrong and, where possible, the corrective action, so the caller can recover without a round trip to the user.

public static McpToolResult FromError(string message)

Parameters

message string

A corrective, human-readable explanation.

Returns

McpToolResult
Share