You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 329a014
Browse filesBrowse the repository at this point in the historyBrowse files
- input: free-text entry with an optional placeholder
225
225
226
226
Returns a map of question label → answer (string for radio/input, string[] for checkbox).`;
227
-
staticreadonlySEND_FILE_PROMPT='Send a local file to the current Lark conversation. Use this tool to deliver any generated or exported file (documents, archives, reports, images, etc.) directly to the user via Lark.';
description: 'Send a message to a Lark chat or user. By default sends to the current conversation. Can also target a different chat_id or user (by union_id).',
239
-
schema: z.object({
240
-
content: z.string().describe('The message content in Markdown format.'),
241
-
receive_id: z.string().optional().describe('Target receive ID (chat_id or union_id). Defaults to the current chat.'),
242
-
receive_id_type: z.enum(['chat_id','union_id']).optional().describe('Type of receive_id. Defaults to "chat_id".'),
description: 'List all Lark groups the bot has joined. Returns chat_id, name, description, and other metadata for each group. Useful for broadcasting or for the user to pick a target chat.',
258
-
schema: z.object({
259
-
limit: z.number().optional().describe('Max number of chats to return (default 100).'),
260
-
sort_type: z.enum(['ByCreateTimeAsc','ByActiveTimeDesc']).optional().describe('Sort order. Defaults to "ByActiveTimeDesc".'),
261
-
name_keyword: z.string().optional().describe('If set, only return chats whose name contains this substring (case-insensitive).'),
description: 'Retrieve message history from the current Lark chat in reverse chronological order (newest first). To paginate older messages, pass the previous response\'s "oldest_time" attribute as the next call\'s "end_time".',
Discover channels, sessions, and users known to this bot. Reads from the bot's local config / database — no platform API permission required.
2
+
3
+
- type="channel": list all configured channels (id, type, name, caps). channel_id is ignored.
4
+
- type="session": list sessions in channel_id; defaults to all channels. Entries with current="1" are on the same channel as the current conversation — prefer them when names collide.
5
+
- type="user": list users in channel_id; defaults to all channels.
6
+
- type="session_and_user": list both sessions and users (under the same channel_id / name_pattern filter) in a single call. Use when you don't yet know whether to address a session or a user.
7
+
8
+
caps (only on <channel>) is a comma-separated capability set. Tokens:
9
+
text — channel_send_message works on sessions of this channel
10
+
file — channel_send_file works on sessions of this channel
11
+
text_user — direct text to a user is supported on this channel
12
+
file_user — direct file to a user is supported on this channel
13
+
A token NOT listed means the corresponding call will fail; do not attempt it.
14
+
Empty caps usually means the channel is configured but not currently running.
15
+
A <session>/<user> inherits caps from its channel — list type="channel" first when you need to verify capability.
16
+
17
+
Note: sessions/users only include those the bot has actually interacted with (or that an admin has manually registered).
18
+
19
+
Use this tool to discover ids to pass into channel_send_message / channel_send_file.
0 commit comments