mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 11:20:43 +00:00
docs(tools): clarify sessions_spawn profile gating
This commit is contained in:
@@ -120,6 +120,14 @@ Starts a sub-agent run with `deliver: false` on the global `subagent` lane,
|
||||
then runs an announce step and posts the announce reply to the requester
|
||||
chat channel.
|
||||
|
||||
Availability depends on the caller's effective tool policy. The `coding` and
|
||||
`full` profiles expose `sessions_spawn` by default. The `messaging` profile
|
||||
does not; add `tools.alsoAllow: ["sessions_spawn", "sessions_yield",
|
||||
"subagents"]` or use `tools.profile: "coding"` for agents that should delegate
|
||||
work. Channel/group, provider, sandbox, and per-agent allow/deny policies can
|
||||
still remove the tool after the profile stage. Use `/tools` from the same
|
||||
session to confirm the effective tool list.
|
||||
|
||||
**Defaults:**
|
||||
|
||||
- **Model:** inherits the caller unless you set `agents.defaults.subagents.model` (or per-agent `agents.list[].subagents.model`); an explicit `sessions_spawn.model` still wins.
|
||||
|
||||
Reference in New Issue
Block a user