|
单一工具 feishu_sheets,通过 action 参数实现所有电子表格操作。
从 URL https://xxx.feishu.cn/sheets/shtABC123 → spreadsheet_token = shtABC123
json
{ action: create, title: 新建电子表格 }
可选文件夹:
json
{ action: create, title: 新建电子表格, folder_token: fldcnXXX }
返回:spreadsheet_token、url、title
json
{
action: write,
spreadsheet_token: shtABC123,
sheet_id: 0bxxxx,
range: A1:C3,
values: [[姓名, 年龄, 城市], [Alice, 25, 北京], [Bob, 30, 上海]]
}
json
{
action: read,
spreadsheet_token: shtABC123,
sheet_id: 0bxxxx,
range: A1:C10
}
json
{
action: append,
spreadsheet_token: shtABC123,
sheet_id: 0bxxxx,
values: [[Charlie, 28, 深圳]]
}
json
{
action: insert_dimension,
spreadsheet_token: shtABC123,
sheet_id: 0bxxxx,
dimension: ROWS,
start_index: 5,
end_index: 7
}
json
{
action: delete_dimension,
spreadsheet_token: shtABC123,
sheet_id: 0bxxxx,
dimension: ROWS,
start_index: 5,
end_index: 7
}
json
{ action: getinfo, spreadsheettoken: shtABC123 }
返回:包含所有 sheet_id 和标题的元数据
json
{
action: add_sheet,
spreadsheet_token: shtABC123,
title: Sheet2
}
json
{
action: delete_sheet,
spreadsheet_token: shtABC123,
sheet_id: 0bxxxx
}
值可以是:
yaml
channels:
feishu:
tools:
sheets: true # 默认值:true
基础 URL:https://open.feishu.cn/open-apis/sheets/v2/spreadsheets/
详细 API 文档请参见 references/api-reference.md。
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 feishu-sheets-skill-1776420033 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 feishu-sheets-skill-1776420033 技能
skillhub install feishu-sheets-skill-1776420033
文件大小: 5.24 KB | 发布时间: 2026-4-17 18:29