numbers_detect_color_mapping
Detect existing row-color mappings by correlating row colors with a column's values and return a reusable colorMap for value-based row coloring.
Instructions
Auto-detect color mapping by reading existing row colors and correlating with column values. Returns a colorMap that can be used with numbers_color_rows_by_value. Requires macOS.
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": {
"filePath": "<filePath>",
"column": "<column>"
},
"name": "numbers_detect_color_mapping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| column | Yes | Column name to correlate colors with (e.g., 'Status') | |
| filePath | Yes | Absolute path to the .numbers file | |
| sheetName | No | Sheet name (defaults to first sheet) |