get_histogram
Analyze tonal distribution of a JPEG, TIFF, or PNG image by computing RGB histograms and statistics (mean, median, std_dev, min, max) with clipping percentages. Optionally includes an SVG visualization.
Instructions
Compute RGB histogram and image statistics for a processed image.
Analyzes the tonal distribution of a JPEG, TIFF, or PNG image. Returns per-channel histograms (256 bins), statistics (mean, median, std_dev, min, max), and clipping percentages. Optionally includes an SVG visualization. Params: file_path, include_svg
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>"
},
"name": "get_histogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| include_svg | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||