excel_read_sheet
Read an Excel sheet and return its data as JSON. Support single sheet selection by name or index.
Instructions
读取 Excel 工作表内容并返回 JSON 格式的数据。
支持读取单个工作表。如果数据量大,返回结果可能被截断。
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>"
},
"name": "excel_read_sheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Excel 文件路径(支持相对路径和绝对路径) | |
| sheet_name | No | 工作表名称或索引,None 表示读取第一个工作表 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |