excel_set_border
Apply custom borders to Excel worksheet cells or ranges, including side selection, style, and color for clear formatting and visual separation.
Instructions
Apply custom borders
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": {
"filename": "<filename>",
"worksheet": "<worksheet>",
"startCell": "<startCell>"
},
"name": "excel_set_border"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Top border | |
| left | No | Left border | |
| right | No | Right border | |
| bottom | No | Bottom border | |
| endCell | No | End cell (optional) | |
| diagonal | No | Diagonal borders | |
| filename | Yes | Opened workbook name | |
| startCell | Yes | Start cell (e.g., A1) | |
| worksheet | Yes | Worksheet name | |
| borderColor | No | Color hex (e.g., FF000000) | |
| borderStyle | No | Style (thin/medium/thick/double/dotted/dashed) |