DingTalk-Real-AI/dingtalk-workspace-cli
DingTalk Workspace is an officially open-sourced cross-platform CLI tool from DingTalk. It unifies DingTalk’s full suite of product capabilities into a single package, is designed for both human users and AI agent scenarios.
View Origin LinkProduct Positioning & Context
Related Ecosystem & Alternatives
Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.
Deep-Dive FAQs
What is DingTalk-Real-AI/dingtalk-workspace-cli?
Where did DingTalk-Real-AI/dingtalk-workspace-cli originate?
When was DingTalk-Real-AI/dingtalk-workspace-cli publicly launched?
How popular is DingTalk-Real-AI/dingtalk-workspace-cli?
Are there active development issues for DingTalk-Real-AI/dingtalk-workspace-cli?
What are some commercial alternatives to DingTalk-Real-AI/dingtalk-workspace-cli?
Are there open-source alternatives related to DingTalk-Real-AI/dingtalk-workspace-cli?
How does the creator describe DingTalk-Real-AI/dingtalk-workspace-cli?
Active Developer Issues (GitHub)
Community Voice & Feedback
使用 dws chat message send,发群消息时,即便设置了始终允许的权限,
实际调用时,仍弹出了授权界面。而且只有第一次的时候,权限显示1项,其他时候,如下,显示0项。 这是什么问题,如何破?
- `dws doc search` 能搜索到 axls/xlsx 格式的在线文档
- `dws doc read --node ` 可尝试读取文档内容(真实 API 调用返回业务层错误,非命令不存在)
建议用真实 node 测试读取效果,如果仍不能读取 xlsx 表格数据,可转为 Bug 跟踪。标记为 enhancement(基本可关闭)。
经过本地 Discovered MCP Services:
aitable AI 表格操作(Base / 数据表 / 字段 / 记录 / 视图 / 仪表盘 / 图表 / 导入导出 / 附件 / 模板)
attendance 考勤打卡 / 排班 / 统计
calendar 日历日程 / 会议室 / 闲忙
chat 群聊 / 会话 / 群组管理
contact 通讯录 / 用户 / 部门
devdoc 开放平台文档搜索
ding DING 消息 / 发送 / 撤回
doc 钉钉文档(搜索 / 浏览 / 读写 / 上传下载 / 文件 / 文件夹 / 块级编辑 / 评论)
drive 云盘 / 文件 / 上传 / 下载
minutes AI 听记(列表 / 详情 / 摘要 / 待办 / 文字稿 / 录音 / 思维导图 / 发言人 / 热词 / 上传)
oa OA 审批 / 同意 / 拒绝 / 撤销
report 日志 / 模版 / 统计
todo 待办任务管理
Usage:
dws [command] [flags]
dws [flags]
Utility Commands:
auth 认证管理
cache 缓存管理
completion 生成 Shell 自动补全脚本
config 配置管理
doctor 环境健康检查
help 查看任意命令的帮助信息
plugin 插件管理
recovery 错误恢复辅助命令
schema 查看 MCP 工具 Schema (产品列表 / 工具参数)
skill 技能管理
version 显示版本信息
Use "dws --help" for more information about a discovered MCP service or "dws --h...
经过真实验证,"读内部群消息"的功能已经完整实现了,以下命令均可正常工作:
### 1. 搜索内部群
```bash
dws chat search --query "项目群" -f json
# ✓ 成功返回内部群列表,包含 openConversationId
```
### 2. 拉取指定内部群消息
```bash
dws chat message list --group --time "2026-04-01 00:00:00" -f json
# ✓ 成功返回 success: true,支持分页翻页
```
### 3. 拉取所有内部群消息(时间范围)
```bash
dws chat message list-all --start "2026-04-20 00:00:00" --end "2026-04-26 23:59:59" -f json
# ✓ 成功返回跨群聊的消息列表,如 "钉钉VS聚水潭项目群" 等内部群消息
```
此外还有 `list-by-sender`、`list-mentions`、`list-focused`、`message search` 等多个读消息子命令均可用。
故关闭此 issue。感谢关注!
- `dws aitable view get` — 获取视图(对应建议的 list,支持 --view-ids 筛选)
- `dws aitable view create` — 创建视图(支持 --view-type 指定 grid/gallery/kanban/gantt/calendar/form 等类型)
- `dws aitable view update` — 更新视图名、过滤/排序/分组/可见字段配置
- `dws aitable view delete` — 删除视图
关闭此 issue。
当前 dws 通讯录接口不返回"工号"(jobNumber) 字段。 能拿到的标识如下:
| 字段 | 值 | 含义 |
|------|-----|------|
| `userId` / `orgUserId` | `525018` | 钉钉用户 ID(非工号) |
| `orgMasterUserId` | `071523` | 主组织管理标识 |
## 可用的查询命令
### 1. 查自己的信息
```bash
dws contact user get-self --format json
```
### 2. 按姓名搜人(拿 userId)
```bash
dws contact user search --keyword "张三" --format json
```
### 3. 拿到 userId 后查详情
```bash
dws contact user get --ids 525018 --format json
```
### 4. 按手机号搜人
```bash
dws contact user search-mobile --mobile 13800138000 --format json
```
## 关于工号
`get-self` 返回的 `orgMasterUserId: "071523"` 看起来像工号格式,但它的语义是"主组织管理者ID"而非当前用户工号。**当前 dws contact 接口没有暴露 `jobNumber` 字段**——这个字段在钉钉开放 API(`/topapi/v2/user/get`)里是有的,但 dws CLI 的返回里被省略了。
如果你需要的是 `userId`(如 `525018`),上面的命令就够用。如果确实需要 HR 系统里的工号,目前 dws 还拿不到。
暂时建议,钉钉文档有开放mcp,可以通过这个编写个 skill 进行,也可以用
有进展吗? 我看 `dws mcp chat send_direct_message_as_user` 的确已经可以 以当前用户的身份发送消息, 并且可以使用 `dws mcp chat list_individual_chat_message` 也可以读取聊天记录 ,但是如果有加密的情况话, 会导致读取到的对方发送的聊天记录处于加密状态.
hhhhh,大概率不会,但是还是期待。
Discovery Source
GitHub Open Source Aggregated via automated community intelligence tracking.
Tech Stack Dependencies
No direct open-source NPM package mentions detected in the product documentation.
Media Tractions & Mentions
No mainstream media stories specifically mentioning this product name have been intercepted yet.
Deep Research & Science
No direct peer-reviewed scientific literature matched with this product's architecture.
SaaS Metrics