Skip to content

ToolSchemaBrowser

API reference and demos for ToolSchemaBrowser.

Source

import { ToolSchemaBrowser } from "@flanksource/clicky-ui/ai";
Read Only · Open in Storybook
Editable 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.

Prop Type Default Description
className string — —
onRule (…) => … — Enables click-to-toggle badges; emits one ordered policy rule per click.
onRulesChange (…) => … — —
rules PermissionPolicy — Saved rules; with `onRulesChange`, shows the collapsed strategy editor.
tools* ToolMeta[] — —
value Record<string, ToolPolicy> — Server-resolved effective permission shown beside each tool.