oz0 tenant tool-policy load

Usage and flags for oz0 tenant tool-policy load.

For: Operators and developers looking up a command.

How many approval prompts per day each rule of the tool policy that asks a person (Ask: action approve) would give, counted from the tenant's tool calls of the last days (at most 30) whose function the rule matches and no earlier rule without conditions decides. A rule with a condition (when, callers, kinds, other_plugins) shows an upper bound, since the audit trail keeps no call's arguments outside its private part.

--policy-file counts for a draft policy (the JSON tool-policy show --json prints) before you set it. The counts are per rule, never per person.

Usage

oz0 tenant tool-policy load [flags]

Flags

FlagTypeDefaultDescription
--daysint30how many days back to count, 1 to 30
--jsonboolprint JSON instead of a table
--policy-filestringcount for this draft tool policy (JSON) instead of the tenant's
--tenantstringdefaulttenant

Inherited flags

FlagTypeDefaultDescription
--contextstring$OZ0_CONTEXT or <config dir>/orchestrator-zero/context.jsonCLI context file written by server init
--log-levelstringinfolog level: debug, info, warn or error

See all oz0 commands and the global flags.

On this page
Copyright © 2026