search_in_cell_range
Search a defined Excel cell range for a string, with optional exact-match filtering, to locate matching values in a worksheet.
Instructions
Search for a string in 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". search_string: The string to search for. exact_match: True if the entire cell value must match, False if it can be a substring. Defaults to False.
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>",
"search_string": "<search_string>"
},
"name": "search_in_cell_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | ||
| sheet_name | Yes | ||
| exact_match | No | ||
| search_string | Yes | ||
| top_left_cell | Yes | ||
| bottom_right_cell | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |