namespace io.github.hatayama.uLoopMCP
{
///
/// Response returned by the Focus Unity Window MCP tool.
/// Indicates whether the foregrounding request succeeded and includes details for optional UI display.
///
public class FocusUnityWindowResponse : BaseToolResponse
{
///
/// Gets whether the Unity Editor window was successfully brought to the foreground.
///
public bool Success { get; set; }
///
/// Gets or sets a message describing the outcome in human-readable form.
///
public string Message { get; set; } = string.Empty;
///
/// Gets or sets an error description, populated only when is false.
///
public string ErrorMessage { get; set; } = string.Empty;
///
/// Initializes a successful response.
///
public FocusUnityWindowResponse(string message)
{
Success = true;
Message = message;
ErrorMessage = string.Empty;
}
///
/// Initializes a failed response with error details.
///
public FocusUnityWindowResponse(string message, string errorMessage)
{
Success = false;
Message = message;
ErrorMessage = errorMessage;
}
///
/// Initializes an empty response, primarily for JSON deserialization.
///
public FocusUnityWindowResponse()
{
}
}
}