Operate Feishu App Bot through your OOMOL-connected account. This skill calls the feishu_app_bot connector with the oo CLI; OOMOL injects credentials server-side, so you never handle raw tokens.
Assume the user has already installed the oo CLI, signed in, and connected Feishu App Bot. Do not run oo auth login or open the connection URL proactively — just run the action. Fall back to First-time setup only when a command actually fails with an auth or connection error.
1. Inspect the contract to get the authoritative input/output schema before building a payload:
oo connector schema "feishu_app_bot" --action "<action_name>"
2. Run the action with a JSON payload that matches the input schema:
oo connector run "feishu_app_bot" --action "<action_name>" --data '<json>' --json
--data takes a JSON object string or @path/to/file.json; omit it to send {}.{ "data": ..., "meta": { "executionId": "..." } }; the execution id lives under meta.executionId.Each action is listed below with a one-line description; actions that change state carry a [write] or [destructive] tag. Before constructing --data, fetch the action's live schema with oo connector schema to get its authoritative input fields.
add_message_reaction — Add one emoji reaction to a Feishu/Lark message. [write]download_file — Download one Feishu/Lark file by file key and upload it to transit storage.download_image — Download one Feishu/Lark image by image key and upload it to transit storage.edit_message — Edit a Feishu/Lark text or post message sent by the app bot. [write]get_chat — Fetch one Feishu/Lark chat by chat_id.get_message — Fetch one Feishu/Lark message by message_id.list_chat_members — List visible members in one Feishu/Lark chat.list_chats — List chats that the Feishu/Lark app bot currently belongs to.list_message_reactions — List emoji reactions on one Feishu/Lark message.list_messages — List Feishu/Lark history messages from a chat or thread.list_pins — List pin records in one Feishu/Lark chat and time window.pin_message — Pin one Feishu/Lark message inside its chat.recall_message — Recall one Feishu/Lark message that the app bot sent.remove_message_reaction — Remove one Feishu/Lark message reaction by reaction_id. [destructive]remove_pin — Remove the pin state from one Feishu/Lark message. [destructive]reply_message — Reply to an existing Feishu/Lark message as the app bot. [write]search_chats — Search chats visible to the Feishu/Lark app bot by keyword.send_message — Send a Feishu/Lark app bot message to a user or chat. [write]upload_file — Upload one public file URL to Feishu/Lark and return the file key for message sending. [write]upload_image — Upload one public image URL to Feishu/Lark and return the image key for message sending. [write][write] change Feishu App Bot state — confirm the exact payload and effect with the user before running.[destructive] remove or overwrite data — always confirm the target and get explicit approval first.These are one-time steps — do not repeat them on every call. Run a step only when a command fails for the matching reason.
oo: command not found — install the oo CLI (other platforms: ```bash
curl -fsSL https://cli.oomol.com/install.sh | bash # macOS / Linux
```
```powershell
irm https://cli.oomol.com/install.ps1 | iex # Windows PowerShell
```
```bash
oo auth login
```
scope_missing / credential_expired / app_not_ready / app_not_found — Feishu App Bot is not connected, or the connection expired or lacks a scope. Connect once (auth type: custom credential) at:```text
https://console.oomol.com/app-connections?provider=feishu_app_bot
```
OOMOL_INSUFFICIENT_CREDIT — billing stop. Recharge at https://console.oomol.com/billing/token-recharge before retrying.共 2 个版本