openclaw - 💡(How to fix) Fix [Bug]: Feishu plugin tools are registered and agent tools profile is full, but plugin tools are not exposed to the model/tool list in Feishu group sessions [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#49496Fetched 2026-04-08 00:54:40
View on GitHub
Comments
2
Participants
3
Timeline
5
Reactions
0
Author
Timeline (top)
commented ×2labeled ×2subscribed ×1

Summary In a Feishu group session, Feishu plugin tools are successfully registered by OpenClaw, the agent session is recreated, and the agent tools.profile has been changed to full, but the model still does not receive the Feishu plugin tools in its callable tool list.

As a result, the agent can reply in the group, but cannot call plugin tools such as: feishu_chat_members feishu_search_user feishu_chat Environment OpenClaw version: 2026.3.13 (61d171a) OS: Windows Channel: Feishu group Agent: caocao Model: openai/gpt-5.4 What I configured I tested the following agent config:

{ "agents": { "list": [ { "id": "caocao", "name": "caocao", "workspace": "C:\Users\Administrator\.openclaw\workspace-caocao", "agentDir": "C:\Users\Administrator\.openclaw\agents\caocao\agent", "model": "openai/gpt-5.4", "tools": { "profile": "full" } } ] } }

I also previously tested alsoAllow with:

{ "tools": { "alsoAllow": [ "feishu_chat_members", "feishu_search_user", "feishu_chat" ] } }

Root Cause

However, from the model side, those tools still do not appear as callable tools. What has already been ruled out This does not appear to be caused by: plugin not installed plugin registration failure stale session /new not taking effect coding profile restrictions only Because even after switching to full, the issue remains. Suspected cause It looks like a runtime/tool-injection issue: plugin tools are registered in gateway/runtime but they are not being propagated into the model-visible tool list for this Feishu group session So this may be a bug in tool exposure / session tool assembly for plugin tools.

Fix Action

Fix / Workaround

Session dispatch is also correct:

feishu[caocao]: dispatching to agent (session=agent:caocao:feishu:group:...)

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Summary

Summary In a Feishu group session, Feishu plugin tools are successfully registered by OpenClaw, the agent session is recreated, and the agent tools.profile has been changed to full, but the model still does not receive the Feishu plugin tools in its callable tool list.

As a result, the agent can reply in the group, but cannot call plugin tools such as: feishu_chat_members feishu_search_user feishu_chat Environment OpenClaw version: 2026.3.13 (61d171a) OS: Windows Channel: Feishu group Agent: caocao Model: openai/gpt-5.4 What I configured I tested the following agent config:

{ "agents": { "list": [ { "id": "caocao", "name": "caocao", "workspace": "C:\Users\Administrator\.openclaw\workspace-caocao", "agentDir": "C:\Users\Administrator\.openclaw\agents\caocao\agent", "model": "openai/gpt-5.4", "tools": { "profile": "full" } } ] } }

I also previously tested alsoAllow with:

{ "tools": { "alsoAllow": [ "feishu_chat_members", "feishu_search_user", "feishu_chat" ] } }

Steps to reproduce

Enable Feishu plugin tools Restart gateway: openclaw gateway restart

In Feishu group, send: /new

Mention the bot and ask it to use Feishu plugin tools (for example, ask it to query group members and @ someone) Observe that the bot replies, but still says those Feishu tools are unavailable in the current session

Expected behavior

Since: the plugin tools are registered successfully the agent config is valid the session is recreated tools.profile is already full the model should receive Feishu plugin tools in its callable tool list, and should be able to call: feishu_chat_members feishu_search_user feishu_chat

Actual behavior

The Feishu plugin tools are clearly registered in logs, but the model-side callable tool list still does not include them.

So the agent can talk in Feishu, but cannot actually invoke those plugin tools. Evidence from logs Plugin registration is successful:

feishu_search_user: Registered feishu_search_user tool feishu_chat: Registered feishu_chat tool feishu_chat_members: Registered feishu_chat_members tool

Session dispatch is also correct:

feishu[caocao]: dispatching to agent (session=agent:caocao:feishu:group:...)

And the agent config is already switched to full.

However, from the model side, those tools still do not appear as callable tools. What has already been ruled out This does not appear to be caused by: plugin not installed plugin registration failure stale session /new not taking effect coding profile restrictions only Because even after switching to full, the issue remains. Suspected cause It looks like a runtime/tool-injection issue: plugin tools are registered in gateway/runtime but they are not being propagated into the model-visible tool list for this Feishu group session So this may be a bug in tool exposure / session tool assembly for plugin tools.

OpenClaw version

2026.3.13

Operating system

windows 11

Install method

No response

Model

gpt 5.4

Provider / routing chain

openclaw+gpt5.4

Config file / key location

No response

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

Fix Plan

To resolve the issue of Feishu plugin tools not being visible in the model's callable tool list, follow these steps:

  1. Verify Plugin Registration: Ensure that the Feishu plugins (feishu_chat_members, feishu_search_user, feishu_chat) are correctly registered in the OpenClaw gateway.
  2. Check Agent Configuration: Confirm that the agent configuration (agents.json or similar) includes the tools section with profile set to "full" and optionally includes the alsoAllow list with the Feishu plugin tools.
  3. Update Tool Exposure: Modify the OpenClaw gateway's tool exposure logic to correctly propagate registered plugin tools into the model-visible tool list for Feishu group sessions.

Example code snippet to update tool exposure:

# In the OpenClaw gateway's tool exposure module
def assemble_session_tools(session):
    # ... existing code ...
    # Add plugin tools to the session's tool list
    plugin_tools = get_registered_plugin_tools()
    session.tools.extend(plugin_tools)
    return session

def get_registered_plugin_tools():
    # Return a list of registered plugin tools, including Feishu plugins
    return ["feishu_chat_members", "feishu_search_user", "feishu_chat"]
  1. Restart OpenClaw Gateway: After updating the tool exposure logic, restart the OpenClaw gateway to apply the changes.

Verification

To verify that the fix worked:

  1. Restart the OpenClaw gateway.
  2. Send the /new command in the Feishu group to recreate the agent session.
  3. Mention the bot and ask it to use the Feishu plugin tools.
  4. Check the model's callable tool list to ensure that the Feishu plugin tools are included.

Extra Tips

  • Ensure that the OpenClaw gateway and agent configurations are correctly synchronized.
  • Verify that the Feishu plugins are correctly installed and registered in the OpenClaw gateway.
  • If issues persist, check the OpenClaw gateway logs for any errors related to tool registration or exposure.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Since: the plugin tools are registered successfully the agent config is valid the session is recreated tools.profile is already full the model should receive Feishu plugin tools in its callable tool list, and should be able to call: feishu_chat_members feishu_search_user feishu_chat

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: Feishu plugin tools are registered and agent tools profile is full, but plugin tools are not exposed to the model/tool list in Feishu group sessions [2 comments, 3 participants]