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
messagestringThe success message
toolNamestringName of the MCP tool
dataobjectOptional result data
Returns
- string
JSON string with success information