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.
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": {
"action": "<action>",
"file_path": "<file_path>",
"sheet_name": "<sheet_name>"
},
"name": "hyperlink"
}
}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 |