机器人所在的会话
feishu_chatsLists all Feishu group and direct conversations the bot belongs to, returning chat IDs and names so agents can pick the right target before sending messages or reading history.
Instructions
列出机器人当前所在的所有会话(群 + 单聊),返回 chat_id 与名字,供后续发送/读历史时当 target 用。只返回文本,不会往飞书里发任何消息,所以可以放心在探索阶段调用。不确定"该往哪个群发"、或者需要 chat_id 但手上只有群名时,先调这个。人数只在飞书真的返回了 member_count 时才显示;需要确切成员名单请改用 feishu_members。with_members=true 会额外对每个群发一次成员请求(前 5 个名字),会话多时会明显变慢。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "feishu_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 最多返回多少个会话,默认 20,上限 100(超过按 100 处理)。 | |
| with_members | No | 是否额外拉取每个群的成员名字(各取前 5 个),默认 false。为 true 时对每个群多发一次 listMembers 请求。 |