UNPKG

@eggjs/controller-decorator

Version:

tegg controller decorator

23 lines (22 loc) 706 B
import type { MiddlewareFunc } from '@eggjs/tegg-types'; import { ToolArgsSchemaDetail } from '../../src/util/MCPInfoUtil'; export declare class MCPToolMeta { readonly name: string; readonly needAcl: boolean; readonly aclCode?: string; readonly mcpName?: string; readonly description?: string; readonly detail?: ToolArgsSchemaDetail; readonly middlewares: readonly MiddlewareFunc[]; readonly extra?: number; constructor(opt: { name: string; middlewares: MiddlewareFunc[]; needAcl?: boolean; aclCode?: string; description?: string; mcpName?: string; detail?: ToolArgsSchemaDetail; extra?: number; }); }