Install
$
openclaw plugins install clawhub:openclaw-plugin-lark-cliopenclaw-plugin-lark-cli
OpenClaw plugin that lets agents run any lark-cli command to interact with Lark/Feishu.
Prerequisites
Install and authenticate lark-cli before using this plugin:
# Install
npm install -g @larksuite/cli
# Set up app credentials (interactive, one-time)
lark-cli config init
# Authenticate
lark-cli auth login --recommend
# Verify
lark-cli auth status
Installation
openclaw plugins install openclaw-plugin-lark-cli
Or for local development:
openclaw plugins install --link /path/to/openclaw-plugin-lark-cli
Tool: lark_cli
Registers a single lark_cli tool that accepts any lark-cli subcommand string.
| Parameter | Type | Required | Description |
|---|---|---|---|
command | string | yes | Subcommand and args (everything after lark-cli) |
Example agent prompts
- "Check my Lark calendar agenda for today"
- "Send a Lark message to chat oc_xxx saying hello"
- "Create a Lark doc titled 'Meeting Notes' with the content ..."
- "List all records in Lark Base app xxx, table tbl_xxx"
- "Search my Lark messages for keyword 'budget'"
Example tool calls
{ "command": "calendar +agenda" }
{ "command": "im +messages-send --chat-id oc_xxx --text \"Hello team!\"" }
{ "command": "docs +create --title \"Sprint Notes\" --markdown \"# Sprint\\n- Task 1\"" }
{ "command": "base records list --app-token appXXX --table-id tblXXX" }
{ "command": "auth status" }
Custom lark-cli binary path
If lark-cli is not on the default PATH (e.g. in a server environment), set:
export LARK_CLI_BIN=/path/to/lark-cli
Covered capabilities
| Domain | Sample commands |
|---|---|
| Calendar | calendar +agenda, calendar events list |
| Messages | im +messages-send, im messages list, im +search |
| Docs | docs +create, docs +read, docs +update |
| Drive | drive files upload, drive files download |
| Base | base records list, base records create |
| Sheets | sheets +read, sheets +write, sheets +append |
| Tasks | task +create, task +list |
| Wiki | wiki nodes list, wiki +create |
| Contact | contact users get, contact +search |
mail +list, mail +send, mail +read |
Run lark-cli --help (via the tool) to see all 200+ available commands.
