Table of Contents

Method FormatSuccess

Namespace
GrindFest.GameMaster.Helpers
Assembly
GrindFest.dll

FormatSuccess(string, string, object)

Formats a success message into JSON format. Use this for successful tool executions to maintain consistent response format.

public static string FormatSuccess(string message, string toolName, object data = null)

Parameters

message string

The success message

toolName string

Name of the MCP tool

data object

Optional result data

Returns

string

JSON string with success information