openclaw - 💡(How to fix) Fix [Bug]: lightContext parameter not exposed in sessions_spawn tool schema or subagent config [1 comments, 2 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#77696Fetched 2026-05-06 06:22:52
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
2
Timeline (top)
closed ×1commented ×1

Code Example

openclaw config get agents.defaults.subagents.lightContext
# Config path not found: agents.defaults.subagents.lightContext

openclaw config get agents.defaults.subagents
# {
#   "maxConcurrent": 4,
#   "maxSpawnDepth": 1,
#   "maxChildrenPerAgent": 3,
#   "runTimeoutSeconds": 600
# }
# No lightContext key

---

acpx: 0.6.1
OpenClaw: 2026.5.3-1 (2eae30e)
OS: Linux 6.8.0-110-generic (x64, Ubuntu)
Install: npm global
Channel: Discord
RAW_BUFFERClick to expand / collapse

Describe the bug

The lightContext parameter documented in the official subagents docs (https://docs.openclaw.ai/tools/subagents) does not appear in the sessions_spawn tool schema, nor does it resolve at the documented config path agents.defaults.subagents.lightContext.

To Reproduce

  1. Inspect the sessions_spawn tool contract — no lightContext parameter present
  2. Check config:
openclaw config get agents.defaults.subagents.lightContext
# Config path not found: agents.defaults.subagents.lightContext

openclaw config get agents.defaults.subagents
# {
#   "maxConcurrent": 4,
#   "maxSpawnDepth": 1,
#   "maxChildrenPerAgent": 3,
#   "runTimeoutSeconds": 600
# }
# No lightContext key

Expected behavior

lightContext should be a valid parameter on sessions_spawn and/or a valid config key at agents.defaults.subagents.lightContext, as documented.

Actual behavior

Neither the tool schema nor the config path exposes lightContext. It may have been renamed, moved, or not yet exposed at the documented surface.

System Information

acpx: 0.6.1
OpenClaw: 2026.5.3-1 (2eae30e)
OS: Linux 6.8.0-110-generic (x64, Ubuntu)
Install: npm global
Channel: Discord

extent analysis

TL;DR

The lightContext parameter is not available in the sessions_spawn tool schema or the documented config path, suggesting a potential documentation mismatch or missing feature.

Guidance

  • Verify the official subagents documentation (https://docs.openclaw.ai/tools/subagents) for any updates or corrections regarding the lightContext parameter.
  • Check the OpenClaw version (2026.5.3-1) for any known issues or release notes related to the lightContext parameter.
  • Inspect the agents.defaults.subagents config object for any similar or related parameters that could serve as an alternative.
  • Consider reaching out to the OpenClaw support channel (Discord) for further clarification on the lightContext parameter.

Notes

The issue may be due to a documentation error, a missing feature, or a version-specific issue. Without further information, it's difficult to provide a definitive solution.

Recommendation

Apply workaround: Use alternative parameters or configuration options available in the agents.defaults.subagents config object, if applicable, until the lightContext parameter is officially supported or documented.

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

lightContext should be a valid parameter on sessions_spawn and/or a valid config key at agents.defaults.subagents.lightContext, as documented.

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]: lightContext parameter not exposed in sessions_spawn tool schema or subagent config [1 comments, 2 participants]