Class ImageColorPaletteTool
Extract the colors an image is made of: its palette, largest share first, each color with its hex value, its share of the image and the basic color term that names it ("blue", "brown", ...), plus the image's dominant term.
public sealed class ImageColorPaletteTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
ImageColorPaletteTool
- Implements
- Inherited Members
Examples
var tool = new ImageColorPaletteTool();
registry.Register(tool);
Properties
- Description
Gets a concise description of what the tool does.
- InputSchema
Gets the JSON Schema defining the expected input arguments.
- Name
Gets the stable, unique identifier for this tool.
Methods
- InvokeAsync(string, CancellationToken)
Executes the tool with the specified JSON arguments.