Tool Permissions
도구마다 허용, 확인, 끔을 고르는 권한 목록입니다.
@horon-ai/react
입력과 선택
Preview
Read-only
list_issuesList issues in a project or cycle
get_issueRead one issue with its comments
search_documentsFull-text search across documents
Usage
import { ToolPermissions } from "@horon-ai/react";
export default function ToolPermissionsDemo() {
return (
<>
<ToolPermissions
title="Read-only"
className="rounded-2xl bg-glass-thick p-2"
tools={[
{ name: "list_issues", description: "List issues in a project or cycle", defaultValue: "allow" },
{ name: "get_issue", description: "Read one issue with its comments", defaultValue: "ask" },
{ name: "search_documents", description: "Full-text search across documents", defaultValue: "off" },
]}
/>
</>
);
}