Interface for tool UI info. Declares Name, Description and a default Hints enumerable; also defines a ToolHint readonly record struct holding a label and associated action strings.
namespace Sandbox;
public interface IToolInfo : IValid
{
string Name { get; }
string Description { get; }
/// <summary>
/// The key hints to show, in order.
/// </summary>
IEnumerable<ToolHint> Hints => [];
}
/// <summary>
/// What pressing <paramref name="Actions"/> together does.
/// </summary>
public readonly record struct ToolHint( string Label, string[] Actions );