{ "title": "`openclaw approvals`", "content": "Manage exec approvals for the **local host**, **gateway host**, or a **node host**.\nBy default, commands target the local approvals file on disk. Use `--gateway` to target the gateway, or `--node` to target a specific node.\n\n* Exec approvals: [Exec approvals](/tools/exec-approvals)\n* Nodes: [Nodes](/nodes)\n\n## Replace approvals from a file\n\n* `--node` uses the same resolver as `openclaw nodes` (id, name, ip, or id prefix).\n* `--agent` defaults to `\"*\"`, which applies to all agents.\n* The node host must advertise `system.execApprovals.get/set` (macOS app or headless node host).\n* Approvals files are stored per host at `~/.openclaw/exec-approvals.json`.", "code_samples": [ { "code": "## Replace approvals from a file", "language": "unknown" }, { "code": "## Allowlist helpers", "language": "unknown" } ], "headings": [ { "level": "h2", "text": "Common commands", "id": "common-commands" }, { "level": "h2", "text": "Replace approvals from a file", "id": "replace-approvals-from-a-file" }, { "level": "h2", "text": "Allowlist helpers", "id": "allowlist-helpers" }, { "level": "h2", "text": "Notes", "id": "notes" } ], "url": "llms-txt#`openclaw-approvals`", "links": [] }