/** * Risk Classifier for Matimo tools. * * Pure function that classifies a tool's risk level based on its execution * type, HTTP method, and approval requirements. No schema changes needed. */ import type { ToolDefinition } from '../core/schema.js'; import type { RiskLevel } from './types.js'; /** * Classify the risk level of a tool based on its definition. * * - critical: arbitrary code execution (type: function) * - high: shell execution (type: command), HTTP DELETE, or explicit requires_approval * - medium: HTTP POST/PUT/PATCH (write operations) * - low: HTTP GET, read-only tools */ export declare function classifyRisk(tool: ToolDefinition): RiskLevel; //# sourceMappingURL=risk-classifier.d.ts.map