get_sheet_data
Read cell values from an Excel worksheet. Specify a sheet name and optional range to return rows of data, or retrieve the entire used range when no range is given.
Instructions
Return cell data from a sheet.
sheet_name: name of the sheet to read
cell_range: optional Excel range string (e.g. "A1:D10"). When omitted the entire used range is returned.
Returns a dict with:
sheet: sheet name
range: the range that was read
rows: list of rows; each row is a list of cell values
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": {
"file_path": "<file_path>",
"sheet_name": "<sheet_name>"
},
"name": "get_sheet_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| cell_range | No | ||
| sheet_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||