get_values_of_cell_range
Retrieve values from a continuous Excel cell range by specifying the workbook, sheet, top-left cell, and bottom-right cell for targeted data extraction.
Instructions
Get the value of a continuous range of cells in an Excel workbook.
Args: filepath: The path to the Excel workbook. For example, "~/Downloads/test.xlsx" or "C:\myfolder\myfile.xlsx". If only a filename is provided, the file will be searched for in the Desktop and Downloads folders. sheet_name: The name of the sheet to get the value from. top_left_cell: The top left cell of the range. For example, "A1". bottom_right_cell: The bottom right cell of the range. For example, "RC976".
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>",
"sheet_name": "<sheet_name>",
"top_left_cell": "<top_left_cell>",
"bottom_right_cell": "<bottom_right_cell>"
},
"name": "get_values_of_cell_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | ||
| sheet_name | Yes | ||
| top_left_cell | Yes | ||
| bottom_right_cell | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |