Skip to main content
Glama
lubo3395
by lubo3395

列出 Excel Sheet

xlsx_list_sheets
Read-onlyIdempotent

List all sheets in an xlsx file with their names, row counts, and column counts.

Instructions

列出 xlsx 文件中所有 sheet 的名称、行数和列数。

参数:

  • file_path (string, 必填): xlsx 文件路径

返回:

  • file_path: 文件路径

  • sheets: Sheet 信息数组

    • name: Sheet 名称

    • rows: 行数

    • cols: 列数

示例:

  • "读取 test.xlsx 有哪些 sheet" -> { file_path: "test.xlsx" }

错误处理:

  • 文件不存在: "文件不存在: <路径>"

  • 不是 xlsx 文件: "不支持的文件格式: <路径>"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesxlsx 文件路径

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lubo3395/mcp-xlsx-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server