"I'm trying to enable cross-agent communication in OpenClaw so Alfred (the main assistant) can send messages to other agents like aialfred-pa using the sessions_send tool. We're consistently hitting a 'Session send visibility is restricted. Set tools.sessions.visibility=all to allow cross-agent access.' error.
Here's what we've done so far:
• Dashboard Settings: I've attempted to enable tools.sessions.visibility to "all" in the MyClaw.ai dashboard. I've also ensured the "Enable Agent-to-Agent Tool" is ON and that aialfred-pa is added to the "Agent-to-Agent Target Allowlist".
• Gateway Restarts: We've restarted the Gateway service multiple times after making dashboard changes.
• CLI Attempts: We've tried various openclaw gateway CLI commands (config.get, config.patch, call config.get, call config.patch) to get and set tools.sessions.visibility, but these have failed due to incorrect syntax or unrecognized options. (I can provide the exact error outputs if needed).
My Setup:
• Hosting: (Please specify your hosting method here, e.g., "Self-hosted on a VPS," "Running locally," "Using MyClaw.ai cloud," etc.)
• OpenClaw Version: 2026.3.13 (as confirmed from previous Discord discussion).
• Connected Providers: (Mention any relevant providers if applicable, e.g., "OpenRouter," "MyClaw models," etc.)
The Core Problem:
Despite following the apparent steps to enable agent-to-agent communication, sessions_send remains blocked. It suggests that either the configuration isn't persistent, there's a deeper permission issue, or a specific command/setting is being missed.
What I need help with:
- Correct CLI Commands: What are the exact, working openclaw gateway CLI commands to reliably get and set the tools.sessions.visibility configuration value, ensuring persistence?
- Agent-Specific Allowlisting: Is there a specific way to configure the allowlist for target agents (like aialfred-pa) if the global setting isn't sufficient?
- Troubleshooting Persistent Settings: If dashboard changes and gateway restarts alone aren't resolving this, what are the definitive steps to ensure the configuration is applied persistently? Does a full OpenClaw instance restart (beyond just the gateway) become necessary?
Please provide clear, copy-pasteable commands or exact dashboard instructions. If you need specific error logs from our CLI attempts, let me know."