dingtalk-workspace-cli
The official DingTalk CLI that unifies all DingTalk capabilities into atomic commands. It helps developers and AI agents automate office tasks like document management, team messaging, and approval workflows programmatic
Tool overview
Adoption verdict: The joint open-sourcing of CLIs by DingTalk, Feishu, and WeCom within the same week in March 2026 signals a clear industry shift—from GUI designed for humans to programmable interfaces for AI agents. Analysts note that dingtalk-workspace-cli provides a deterministic, text-based “native interface” for agents, overcoming the fragility of relying on visual UI automation.
What it does: The tool exposes 200+ atomic commands across docs, sheets, messaging, calendar, approvals, and attendance. It supports JSON output, --yes for non-interactive mode, and --dry-run for safe previews. A real-world case study demonstrates incremental sync from DingTalk cloud docs to local Excel files, enabling game designers to update data and export it with two clicks. Other shared examples include AI agents scanning approvals every morning, compiling monthly attendance stats, and flagging incomplete work logs.
Cost & prerequisites: Installation is a one-liner, but actual usage requires creating an app on the DingTalk Open Platform and completing enterprise authorization—individual users without an organization cannot proceed.