numbers_set_row_color
Set the background color of a specific row in a Numbers spreadsheet using RGB values, with optional sheet selection. Runs on macOS via AppleScript and briefly opens Numbers.
Instructions
Set the background color of a specific row. Requires macOS (uses AppleScript). Numbers app will open briefly.
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>",
"rowIndex": "<rowIndex>",
"color": "<color>"
},
"name": "numbers_set_row_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | RGB color values | |
| filePath | Yes | Absolute path to the .numbers file | |
| rowIndex | Yes | 1-based row index (row 1 is the header) | |
| sheetName | No | Sheet name (defaults to first sheet) |