codemesh
Version:
Execute TypeScript code against multiple MCP servers, weaving them together into powerful workflows
21 lines (20 loc) • 711 B
TypeScript
/**
* Tool augmentation from markdown documentation
*/
export interface ToolAugmentation {
toolName: string;
serverObjectName: string;
documentation: string;
}
/**
* Load tool augmentations from .codemesh directory
*/
/**
* Check if a tool has augmentation documentation
*/
export declare function hasAugmentation(serverObjectName: string, toolName: string, codemeshDir: string): boolean;
export declare function loadAugmentations(codemeshDir: string): Map<string, ToolAugmentation>;
/**
* Get augmentation for a specific tool
*/
export declare function getAugmentation(augmentations: Map<string, ToolAugmentation>, serverObjectName: string, toolName: string): ToolAugmentation | undefined;