Loading...
Loading...
WeCom Smart Table data (record) management Skill. Provides add, delete, modify and query capabilities for smart table records. Applicable scenarios: (1) Query all records of a sub-table (2) Add one or more rows of records (3) Update existing records (4) Delete records. This Skill is triggered when users need to read table data, write new data, modify or delete table rows. It supports locating documents via docid or document URL.
npx skill4agent add wecomteam/wecom-cli wecomcli-manage-smartsheet-datais a command line program provided by WeCom, and all operations are completed by executing thewecom-clicommand.wecom-cli
docidurlwecom-clidocwecom-cli doc <tool_name> '<json_params>'| Field | Type | Description |
|---|---|---|
| integer | Return code, |
| string | Error message, which is |
errcode0errcodeerrmsgwecom-cli doc smartsheet_get_records '{"docid": "DOCID", "sheet_id": "SHEETID"}'wecom-cli doc smartsheet_get_records '{"url": "https://doc.weixin.qq.com/smartsheet/xxx", "sheet_id": "SHEETID"}'smartsheet_get_fieldswecom-cli doc smartsheet_add_records '{"docid": "DOCID", "sheet_id": "SHEETID", "records": [{"values": {"任务名称": [{"type": "text", "text": "完成需求文档"}], "优先级": [{"text": "高"}]}}]}'smartsheet_get_recordswecom-cli doc smartsheet_update_records '{"docid": "DOCID", "sheet_id": "SHEETID", "records": [{"record_id": "RECORDID", "values": {"任务名称": [{"type": "text", "text": "更新后的内容"}]}}]}'smartsheet_get_recordswecom-cli doc smartsheet_delete_records '{"docid": "DOCID", "sheet_id": "SHEETID", "record_ids": ["RECORDID1", "RECORDID2"]}'wecom-cli doc smartsheet_get_records '{"docid":"DOCID","sheet_id":"SHEETID"}'smartsheet_get_fieldsget_userlistwecomcli-lookup-contactsmartsheet_add_recordssmartsheet_get_recordsget_userlistwecomcli-lookup-contactsmartsheet_update_recordssmartsheet_get_recordssmartsheet_delete_recordsNote: Member (USER) type fields require filling in, and you cannot directly use the name. You must first find the correspondinguser_idby name through theuseridinterface of theget_userlistSkill before using it.wecomcli-lookup-contact