hyperlink
Add, read, delete, or list hyperlinks in Excel cells. Specify workbook, sheet, cell reference, URL, display text, and tooltip for full control.
Instructions
Add, read, delete, or list hyperlinks attached to cells.
Args: action: One of "add", "read", "delete", "list". file_path: Workbook path. sheet_name: Worksheet name. cell_ref: Cell reference (required for single-cell ops). url: URL for "add". display_text, tooltip: Optional display and tooltip text.
Returns: str | HyperlinkReadResult | list[HyperlinkInfo] | None
Notes: - Deleting hyperlinks modifies the workbook.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| action | Yes | ||
| tooltip | No | ||
| cell_ref | No | ||
| file_path | Yes | ||
| sheet_name | Yes | ||
| display_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |