excel_inspect_file
Inspect Excel file structure to list sheets, headers, and preview rows. Use before selecting a sheet to read.
Instructions
检查 Excel 文件结构。
返回包含所有 Sheet 名称、列头和前几行数据预览的摘要信息。 在决定读取哪个 Sheet 之前,请先使用此工具。
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_inspect_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Excel 文件路径(支持相对路径和绝对路径) | |
| include_preview | No | 是否包含数据预览(默认 False,避免数据量大时性能问题) | |
| preview_rows | No | 如果 include_preview=True,每个工作表预览的行数(默认 3 行) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||