OpenClaw operations guide
Limit tools for one OpenClaw agent
Short answer. Give a specialist OpenClaw agent a narrower tool profile and verify the tools visible to it and to a second agent on the same Gateway. A status-reporting agent may need to check its session while another agent on the same Gateway needs file tools.
Last updated · Published
By CWYN · Reviewed November 18, 2026 against OpenClaw 2026.11.5
A status-reporting agent may need to check its session while another agent on the same Gateway needs file tools. You can test that difference directly from the two chats.
1. Capture the two starting tool lists
Open a test chat for the specialist and another for a comparison agent. Record each agent ID, provider and channel. As an authorized sender, run /tools verbose in each chat and save the relevant tool names. Choose one tool the specialist needs and one it should lose. Chat inspection commands
2. Choose a profile that fits the job
For a specialist that only reports session status, consider minimal. It includes session_status and limited Gateway maintenance actions. Review those actions against the job. If Gateway maintenance is outside scope, include gateway in that agent’s deny list. Profile contents and deny rules
3. Apply the change to the specialist’s entry
Save its previous tool settings. In the matching entry under agents.entries, set tools.profile to the chosen profile and preserve existing restrictions. For the status-only example, keep the root profile as it was. Run openclaw config validate and apply the validated edit through your usual Gateway configuration workflow. Per-agent policy examples
4. Verify the specialist’s effective tools
In a fresh chat on the same agent, provider and channel, run /tools verbose again. For the status-only example, check for session_status and verify that write is absent. Try a harmless session-status request and inspect the resulting tool call. If a required tool is missing, check provider, agent and sandbox restrictions before changing the profile.
5. Check the comparison agent before rollout
Repeat the tool-list check for the second agent using its original provider and channel. Compare both lists to their baselines. If both changed unexpectedly, inspect the root tool settings and the agent entry you edited. Restore the saved settings if the specialist cannot do its job, then repeat the two checks before expanding the rollout.
Get your free CWYN Score to choose your next setup improvement.