Skip to content

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.

Source

import { ToolPolicy } from "@flanksource/clicky-ui/ai";
Dropdown · Open in Storybook
Advanced Config · Open in Storybook
Advanced Permissions · Open in Storybook

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.