Function format_success
Source pub fn format_success<T: Serialize>(tool_name: &str, data: &T) -> String
Expand description
Format a simple success response
Use this for operations that don’t need metadata about truncation/compression.
§Arguments
tool_name - Name of the tool (for debugging/logging)
data - The response data to serialize
§Returns
JSON string of the response