pub(super) fn ok_json<T: Serialize>(val: T) -> Result<CallToolResult, ErrorData>
把可序列化值编码为 MCP 工具成功结果(pretty JSON 文本块)。