cline-sdk
Version:
Comprehensive SDK for Cline - AI-powered development assistant with database integration, execution modes, and custom functions
34 lines • 848 B
TypeScript
/**
* Read Tool - Reads file contents
* Based on VSCode extension's readTool implementation
*/
export interface ReadToolInput {
file_path: string;
}
export interface ReadToolResult {
success: boolean;
content?: string;
message: string;
file_path: string;
lines_read?: number;
}
export declare class ReadTool {
private workingDirectory;
constructor(workingDirectory: string);
execute(input: ReadToolInput): Promise<ReadToolResult>;
getDefinition(): {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
file_path: {
type: string;
description: string;
};
};
required: string[];
};
};
}
//# sourceMappingURL=read-tool.d.ts.map