feat(tools): enforce skill capabilities and secret scopes
This commit is contained in:
@@ -8,6 +8,8 @@ export interface Tool {
|
||||
name: string;
|
||||
description: string;
|
||||
inputSchema: ToolInputSchema;
|
||||
/** Secret scopes required to execute this tool (optional). */
|
||||
requiredSecretScopes?: string[];
|
||||
execute(args: unknown): Promise<ToolResult>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user