agentguard_set_policy
Replace a proxy's policy (YAML: mode, upstreams, classify, caps, loop, dry_run, approvals, alerts, chaos, drift). Validated before saving; takes effect within 30 seconds. Requires an account key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proxyId | Yes | the proxy id returned by agentguard_create_proxy | |
| policyYaml | Yes | the complete policy document; it replaces the current one rather than merging |