← Back to Product Feed

GitHub Open Source 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.

1,480
Traction Score
58
Forks
Mar 21, 2026
Launch Date
View Origin Link

Product Positioning & Context

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.

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?
DingTalk-Real-AI/dingtalk-workspace-cli is a digital product or tool described as: DingTalk Workspace is an officially open-sourced cross-platform CLI tool from DingTalk. It unifies DingTalk’s full suite of product capabilities in...
Where did DingTalk-Real-AI/dingtalk-workspace-cli originate?
Data for DingTalk-Real-AI/dingtalk-workspace-cli was aggregated directly from the GitHub Open Source community ecosystem, representing raw developer and early-adopter sentiment.
When was DingTalk-Real-AI/dingtalk-workspace-cli publicly launched?
The initial public indexing or launch date for DingTalk-Real-AI/dingtalk-workspace-cli within our tracked developer communities was recorded on March 21, 2026.
How popular is DingTalk-Real-AI/dingtalk-workspace-cli?
DingTalk-Real-AI/dingtalk-workspace-cli has achieved measurable traction, logging over 1,480 traction score and facilitating 58 recorded discussions or engagements.
Are there active development issues for DingTalk-Real-AI/dingtalk-workspace-cli?
Yes, we are currently tracking open architectural debates and bug reports for this project on GitHub. There are currently 5 active high-priority issues logged recently.
What are some commercial alternatives to DingTalk-Real-AI/dingtalk-workspace-cli?
Our semantic intelligence engine identifies potential commercial alternatives in the SaaS space, such as tama96, which offers overlapping value propositions.
Are there open-source alternatives related to DingTalk-Real-AI/dingtalk-workspace-cli?
Yes, the GitHub ecosystem contains correlated projects. For example, a repository named RunanywhereAI/RCLI shares highly similar architectural descriptions and topics.
How does the creator describe DingTalk-Real-AI/dingtalk-workspace-cli?
The original author or development team describes the product as follows: "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 us..."

Active Developer Issues (GitHub)

open [Feature] 增加读取在线文档,特别是xlsx/xls在线文档,便于agents直接读取分析
Logged: Apr 1, 2026
open oa审批需要添加审批元数据和附件
Logged: Mar 31, 2026
open [Feature] 查询用户时,用户信息希望返回工号
Logged: Mar 31, 2026
open feat(dws chat): 支持以个人身份给联系人发消息,减少机器人代发和 DING 打扰
Logged: Mar 31, 2026
open [Feature] 支持读取/接收聊天消息
Logged: Mar 30, 2026

Community Voice & Feedback

gesgood • May 8, 2026
@PeterGuy326 请问下:
使用 dws chat message send,发群消息时,即便设置了始终允许的权限,



实际调用时,仍弹出了授权界面。而且只有第一次的时候,权限显示1项,其他时候,如下,显示0项。 这是什么问题,如何破?
PeterGuy326 • May 4, 2026
预计 q3 前上线
PeterGuy326 • Apr 26, 2026
✅ v1.0.16 已部分支持:
- `dws doc search` 能搜索到 axls/xlsx 格式的在线文档
- `dws doc read --node ` 可尝试读取文档内容(真实 API 调用返回业务层错误,非命令不存在)

建议用真实 node 测试读取效果,如果仍不能读取 xlsx 表格数据,可转为 Bug 跟踪。标记为 enhancement(基本可关闭)。
PeterGuy326 • Apr 26, 2026
## 已验证:读取聊天消息功能已上线 ✅

经过本地 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...
PeterGuy326 • Apr 26, 2026
## 已验证:读内部群消息功能已上线 ✅

经过真实验证,"读内部群消息"的功能已经完整实现了,以下命令均可正常工作:

### 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。感谢关注!
PeterGuy326 • Apr 26, 2026
已在当前版本中通过 MCP 服务动态注册上线,经实际 CLI 验证,以下命令均已可用:

- `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。
PeterGuy326 • Apr 17, 2026
# 钉钉 CLI 查工号方法

当前 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 还拿不到。
PeterGuy326 • Apr 17, 2026
已解决,关闭 issue。
wangyjx • Apr 16, 2026
> 现在文档读取方面,dws只能读取到开放平台的doc文档; 钉钉在线文档不能读取,建议添加,特别是添加读取xls/xlsx格式的钉钉在线文档;

暂时建议,钉钉文档有开放mcp,可以通过这个编写个 skill 进行,也可以用
a614594721 • Apr 16, 2026
强烈需要这个功能
V1ki • Apr 16, 2026
> 收到,感谢你的反馈,我们会认真评估需求,有相关能力迭代会及时更新。

有进展吗? 我看 `dws mcp chat send_direct_message_as_user` 的确已经可以 以当前用户的身份发送消息, 并且可以使用 `dws mcp chat list_individual_chat_message` 也可以读取聊天记录 ,但是如果有加密的情况话, 会导致读取到的对方发送的聊天记录处于加密状态.
coollce • Apr 10, 2026
“管理员在钉钉开放平台创建企业内部应用,Agent 使用应用凭证直接调用 API”,我们遇到大量这种员工申请,需要创建应用并且把应用凭证给他们使用,但应用凭证只能关联到接口权限,是做不到数据权限判断的。举个例子,小张申请创建一个应用,给他开通查询日志周报类的权限,如果给他授权了,那么他就可以通过伪造userid的方式去调接口查询到其他员工的日志。这怎么搞。
Wangbull • Apr 9, 2026
> [@coffeeBigSir](https://github.com/coffeeBigSir) 这个回复,看不出来是否会支持,有点过于官方发言人的感觉。

hhhhh,大概率不会,但是还是期待。
xkloveme • Apr 9, 2026
管理员说他不敢操作,涉及到公司隐私
itchina110 • Apr 8, 2026
@coffeeBigSir 这个回复,看不出来是否会支持,有点过于官方发言人的感觉。

Discovery Source

GitHub Open 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.