ToolPolicy
Authority for one tool, in Captain’s tool vocabulary. The legacy on/off spellings are still accepted on the way in (see normalizeToolPolicyValue) and mean allow/deny; they are never produced here. The UI still labels these On and Off — see POLICY_LABEL.
Import
Section titled “Import”import { ToolPolicy } from "@flanksource/clicky-ui/ai";The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
This component has no documented props.