Skip to content

[Bug]: memory_search tool not injected in new sessions despite plugin loaded #50173

@wangduo404-eng

Description

@wangduo404-eng

Bug type

Behavior bug (incorrect output/state without crash)

Summary

memory_search and memory_get tools not injected in new sessions despite memory-core plugin being loaded

Steps to reproduce

  1. Enable memory-core plugin in openclaw.json (plugins.allow)
  2. Configure a valid OpenAI embedding key
  3. Verify memory index is built (openclaw memory index --force)
  4. Open a new Feishu session with the main agent
  5. Ask the agent to list all available tools

Expected behavior

memory_search and memory_get appear in the agent's tool list

Actual behavior

memory_search and memory_get are absent from new sessions. Only base tools are present (read, write, edit, exec, process, web_search, web_fetch). The tools ARE available in existing long-running sessions. CLI command "openclaw memory search" works correctly.

OpenClaw version

OpenClaw 2026.3.11

Operating system

macOS arm64

Install method

No response

Model

gpt5.4

Provider / routing chain

openclaw -> openai (text-embedding-3-small)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug:behaviorIncorrect behavior without a crash

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions