Caricamento in corso...
Caricamento in corso...
Last synced: Today, 22:00
Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.
Use this file to discover all available pages before exploring further.
OpenClaw gives agents tools to work across sessions, inspect status, and orchestrate sub-agents.
| Tool | What it does |
|---|---|
text sessions_list | List sessions with optional filters (kind, label, agent, recency, preview) |
text sessions_history | Read the transcript of a specific session |
text sessions_send | Send a message to another session and optionally wait |
text sessions_spawn | Spawn an isolated sub-agent session for background work |
text sessions_yield | End the current turn and wait for follow-up sub-agent results |
text subagents | List, steer, or kill spawned sub-agents for this session |
text session_status | Show a text /status |
These tools are still subject to the active tool profile and allow/deny policy.
tools.profile: "coding"sessions_spawnsessions_yieldsubagentstools.profile: "messaging"sessions_listsessions_historysessions_sendsession_statusjson5{ tools: { profile: "messaging", alsoAllow: ["sessions_spawn", "sessions_yield", "subagents"], }, }
Group, provider, sandbox, and per-agent policies can still remove those tools after the profile stage. Use
/toolssessions_listmaingroupcronhooknodelabelagentIdactiveMinutessessions_historyincludeTools: true<relevant-memories><relevant_memories><tool_call>...</tool_call><function_call>...</function_call><tool_calls>...</tool_calls><function_calls>...</function_calls>[Tool Call: ...][Tool Result ...][Historical context ...]<|assistant|><|...|><|...|><invoke ...></minimax:tool_call>[sessions_history omitted: message too large]truncateddroppedMessagescontentTruncatedcontentRedactedbytesBoth tools accept either a session key (like
"main"If you need the exact byte-for-byte transcript, inspect the transcript file on disk instead of treating
sessions_historysessions_sendtimeoutSeconds: 0Messages and A2A follow-up replies are marked as inter-session data in the receiving prompt (
[Inter-session message ... isUser=false]After the target responds, OpenClaw can run a reply-back loop where the agents alternate messages (up to 5 turns). The target agent can reply
REPLY_SKIPsession_status/status/statusmodel=defaultsessionKey="current"openclaw-tuisessions_yieldsubagentsaction: "list"action: "steer"action: "kill"allsessions_spawnrunIdchildSessionKeyKey options:
runtime: "subagent""acp"modelthinkingthread: truesandbox: "require"context: "fork"context: "isolated"Default leaf sub-agents do not get session tools. When
maxSpawnDepth >= 2sessions_spawnsubagentssessions_listsessions_historyAfter completion, an announce step posts the result to the requester's channel. Completion delivery preserves bound thread/topic routing when available, and if the completion origin only identifies a channel OpenClaw can still reuse the requester session's stored route (
lastChannellastToFor ACP-specific behavior, see ACP Agents.
Session tools are scoped to limit what the agent can see:
| Level | Scope |
|---|---|
text self | Only the current session |
text tree | Current session + spawned sub-agents |
text agent | All sessions for this agent |
text all | All sessions (cross-agent if configured) |
Default is
treetree© 2024 TaskFlow Mirror
Powered by TaskFlow Sync Engine