UNPKG

@boundless-oss/atlas

Version:

Atlas - MCP Server for comprehensive startup project management

40 lines 1.27 kB
/** * Few-Shot Prompting Examples * Implements MCP Design Guide Section 3.2 principles for guided tool selection */ export interface ToolSelectionExample { userRequest: string; context?: string; correctToolCall: { tool: string; parameters: Record<string, any>; }; reasoning: string; commonMistakes?: string[]; } export interface ExampleCategory { category: string; description: string; examples: ToolSelectionExample[]; } /** * Comprehensive few-shot examples for tool selection guidance */ export declare const TOOL_SELECTION_EXAMPLES: ExampleCategory[]; /** * Get relevant examples for a specific tool or category */ export declare function getExamplesForTool(toolName: string): ToolSelectionExample[]; /** * Get examples for a category */ export declare function getExamplesForCategory(categoryName: string): ToolSelectionExample[]; /** * Find the most relevant examples based on user request keywords */ export declare function findRelevantExamples(userRequest: string, maxExamples?: number): ToolSelectionExample[]; /** * Format examples for inclusion in prompts */ export declare function formatExamplesForPrompt(examples: ToolSelectionExample[]): string; //# sourceMappingURL=few-shot-examples.d.ts.map