Skip to content

Plugin tools registered but not visible to agent sessions #35

Description

@neocody

Problem

ClawVoice tools are registered via api.registerTool() with registrationMode=full, but they do not appear in agent sessions. The agent (Pip) confirms it has zero clawvoice_* tools despite the plugin loading and initializing successfully.

Evidence

Gateway logs show tools registering:

[clawvoice] registerTool: clawvoice_call (registrationMode=full)
[clawvoice] registerTool: clawvoice_hangup (registrationMode=full)
...9 tools total

But when asked directly, the agent says:

Q: Do you have a tool called clawvoice_call?
A: NO

Config

  • plugins.allow includes "clawvoice"
  • plugins.entries.clawvoice.enabled: true
  • plugins.installs.clawvoice has proper provenance
  • tools.alsoAllow includes all tool names
  • tools.profile: "full"
  • OpenClaw version: 2026.3.23-2

What was tried

  1. tools.alsoAllow: ["group:plugins"] — no such group exists
  2. tools.alsoAllow: ["clawvoice"] (plugin ID)
  3. tools.alsoAllow: ["clawvoice_call", ...] (explicit tool names)
  4. Proper openclaw plugins install with provenance
  5. /new session reset
  6. Gateway restart
  7. Removing init guard
  8. All combinations above

Suspected root cause

The Pi embedded session calls resolvePluginTools which calls getActivePluginRegistry(). The gateway does NOT call setActivePluginRegistry — it only calls pinActivePluginHttpRouteRegistry. So the Pi session falls through to loadOpenClawPlugins independently. Either the independent load doesn't find ClawVoice's tools, or there's a registry object mismatch.

Workaround

The CLI (openclaw clawvoice call) works. Agent uses exec tool to shell out.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions