Loading...
Loading...
WeCom Smart Table Structure Management Skill. It provides CRUD capabilities for Sheets and fields (columns). Applicable scenarios: (1) Query the sub-sheet list of the smart table (2) Add, update, delete sub-sheets (3) Query field/column information of sub-sheets (4) Add, update, delete fields/columns. This Skill is triggered when users need to manage the table structure, column definitions, and sub-sheet configurations of the smart table. Supports locating documents via docid or document URL.
npx skill4agent add wecomteam/wecom-cli wecomcli-manage-smartsheet-schemais a command-line program provided by WeCom, all operations are completed by executingwecom-clicommands.wecom-cli
docidurlwecom-clidocwecom-cli doc <tool_name> '<json_params>'| Field | Type | Description |
|---|---|---|
| integer | Return code, |
| string | Error message, it is |
errcode0errcodeerrmsgwecom-cli doc smartsheet_get_sheet '{"docid": "DOCID"}'wecom-cli doc smartsheet_add_sheet '{"docid": "DOCID", "properties": {"title": "新子表"}}'wecom-cli doc smartsheet_update_sheet '{"docid": "DOCID", "sheet_id": "SHEETID", "title": "新标题"}'wecom-cli doc smartsheet_delete_sheet '{"docid": "DOCID", "sheet_id": "SHEETID"}'wecom-cli doc smartsheet_get_fields '{"docid": "DOCID", "sheet_id": "SHEETID"}'wecom-cli doc smartsheet_add_fields '{"docid": "DOCID", "sheet_id": "SHEETID", "fields": [{"field_title": "任务名称", "field_type": "FIELD_TYPE_TEXT"}]}'wecom-cli doc smartsheet_update_fields '{"docid": "DOCID", "sheet_id": "SHEETID", "fields": [{"field_id": "FIELDID", "field_title": "新标题", "field_type": "FIELD_TYPE_TEXT"}]}'smartsheet_get_fieldswecom-cli doc smartsheet_delete_fields '{"docid": "DOCID", "sheet_id": "SHEETID", "field_ids": ["FIELDID"]}'wecom-cli doc smartsheet_get_sheetwecom-cli doc smartsheet_get_fieldssmartsheet_add_sheetsmartsheet_add_fieldssmartsheet_update_fieldssmartsheet_delete_fields