feat: remvoe other default tools

This commit is contained in:
Richard Tang
2026-05-01 13:35:04 -07:00
parent c147364d8c
commit 6f2f037c9c
4 changed files with 137 additions and 6 deletions
+14
View File
@@ -28,6 +28,16 @@ export interface McpServerTools {
tools: Array<ToolMeta & { enabled: boolean }>;
}
export interface ToolCategory {
/** Category id (e.g. "spreadsheet_advanced", "browser_basic"). */
name: string;
/** Concrete tool names that belong to this category, after expansion
* of any ``@server:NAME`` shorthands against the live MCP catalog. */
tools: string[];
/** True when this category contributes to the queen's role-based default. */
in_role_default: boolean;
}
export interface QueenToolsResponse {
queen_id: string;
enabled_mcp_tools: string[] | null;
@@ -39,6 +49,10 @@ export interface QueenToolsResponse {
lifecycle: ToolMeta[];
synthetic: ToolMeta[];
mcp_servers: McpServerTools[];
/** Curated category groupings (file_ops, browser_basic, security, …)
* with resolved tool members. ``in_role_default`` flags categories
* baked into this queen's default allowlist. */
categories: ToolCategory[];
}
export interface QueenToolsUpdateResult {