openclaw - 💡(How to fix) Fix Subagents spawned via sessions_spawn cannot use browser, web_search, web_fetch despite alsoAllow config [1 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#62384Fetched 2026-04-08 03:05:08
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Author
Participants

Fix Action

Fix / Workaround

The only workaround is routing ALL web tasks through the main agent, which defeats the purpose of multi-agent orchestration and creates context window pressure on long-running sessions.

Code Example

{
  "tools": {
    "profile": "full",
    "subagents": {
      "tools": {
        "alsoAllow": ["browser", "web_search", "web_fetch"]
      }
    }
  },
  "agents": {
    "list": [
      {
        "id": "orchestrator",
        "name": "Orchestrator",
        "model": {"primary": "anthropic-provider/claude-sonnet-4-5"},
        "subagents": {"allowAgents": ["*"]}
      },
      {
        "id": "web-worker",
        "name": "Web Worker",
        "workspace": "/install/workspace-web",
        "model": {"primary": "openai-provider/gpt-5.4"}
      }
    ]
  }
}
RAW_BUFFERClick to expand / collapse

Problem

Subagents spawned via sessions_spawn cannot use browser, web_search, or web_fetch tools, even when explicitly allowed in configuration. This fundamentally limits multi-agent architectures where a main orchestrator needs to delegate web-based tasks to specialized subagents.

This is a renewed report to give visibility to a long-standing limitation originally tracked in #41577 and #45873, which remain unresolved as of v2026.4.5.

Configuration

{
  "tools": {
    "profile": "full",
    "subagents": {
      "tools": {
        "alsoAllow": ["browser", "web_search", "web_fetch"]
      }
    }
  },
  "agents": {
    "list": [
      {
        "id": "orchestrator",
        "name": "Orchestrator",
        "model": {"primary": "anthropic-provider/claude-sonnet-4-5"},
        "subagents": {"allowAgents": ["*"]}
      },
      {
        "id": "web-worker",
        "name": "Web Worker",
        "workspace": "/install/workspace-web",
        "model": {"primary": "openai-provider/gpt-5.4"}
      }
    ]
  }
}

Expected behavior

When the orchestrator spawns a subagent via sessions_spawn targeting the web-worker agent, that subagent should be able to use browser, web_search, and web_fetch tools — as declared in subagents.tools.alsoAllow.

Actual behavior

The spawned subagent does not have access to browser, web_search, or web_fetch. Only the main (parent) agent can use these tools directly. The subagent either ignores the tool call or reports the tool as unavailable.

Reproduction steps

  1. Configure a multi-agent setup with at least two agents (one orchestrator, one worker)
  2. Set subagents.allowAgents: ["*"] on the orchestrator
  3. Set tools.subagents.tools.alsoAllow: ["browser", "web_search", "web_fetch"] globally
  4. Start the gateway and interact via any channel (Discord, Telegram, etc.)
  5. Ask the orchestrator to delegate a web task (e.g., "search for X on the web") to the worker subagent via sessions_spawn
  6. Observe that the subagent cannot use browser/web tools

Impact

This limitation forces all web-based automation into a single agent, creating significant bottlenecks:

  • Web scraping pipelines that should be parallelized across specialized subagents must funnel through the main agent, overloading its context window
  • Content research workflows where one subagent should gather data (web) while another processes it (text) cannot be properly separated
  • Monitoring workflows where multiple subagents need to check different web sources concurrently are impossible — everything serializes through the parent

The only workaround is routing ALL web tasks through the main agent, which defeats the purpose of multi-agent orchestration and creates context window pressure on long-running sessions.

What has been tried

  • Setting subagents.tools.alsoAllow at agents.defaults level — no effect on spawned subagents
  • Setting subagents.allowAgents: ["*"] on each agent — does not grant tool access
  • Various combinations of tools.profile: "full" with explicit tool allowlists — no change

Related issues

  • #41577 — original report of subagent tool restrictions (open since early 2026)
  • #45873 — additional report focusing on browser tool availability in subagents

Both remain open with no resolution. The v2026.4.2 fix #59555 (subagent spawn pairing) and v2026.4.5 improvements (#59944, #58178) improved subagent stability but did not address tool availability.

Environment

  • OpenClaw v2026.4.5 (3e72c03)
  • macOS (Apple Silicon)
  • Tested with Discord and web chat channels
  • Multiple provider configurations (Anthropic, OpenAI)

extent analysis

TL;DR

  • The issue may be resolved by re-examining the configuration settings for subagent tool access and potentially adjusting the tools profile or the subagents allowlist.

Guidance

  • Review the tools.subagents.tools.alsoAllow configuration to ensure it correctly includes browser, web_search, and web_fetch.
  • Verify that the subagents.allowAgents setting is correctly configured to allow the desired subagents to access the specified tools.
  • Consider testing with a simplified configuration to isolate the issue and determine if it's related to the specific tool or subagent setup.
  • Check the OpenClaw documentation for any updates or changes to subagent tool access configuration in version 2026.4.5.

Example

  • No code snippet is provided as the issue seems to be related to configuration settings rather than code.

Notes

  • The issue has been ongoing since early 2026, and previous attempts to resolve it have been unsuccessful.
  • The provided configuration and reproduction steps suggest that the issue is related to the subagent tool access configuration.

Recommendation

  • Apply workaround: Until a permanent fix is available, consider routing web tasks through the main agent or exploring alternative multi-agent architectures that do not rely on subagent tool access.

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

When the orchestrator spawns a subagent via sessions_spawn targeting the web-worker agent, that subagent should be able to use browser, web_search, and web_fetch tools — as declared in subagents.tools.alsoAllow.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING