UNPKG

cline-sdk

Version:

Comprehensive SDK for Cline - AI-powered development assistant with database integration, execution modes, and custom functions

38 lines 986 B
/** * Write Tool - Creates or overwrites files * Based on VSCode extension's writeTool implementation */ export interface WriteToolInput { file_path: string; content: string; } export interface WriteToolResult { success: boolean; message: string; file_path: string; lines_written: number; } export declare class WriteTool { private workingDirectory; constructor(workingDirectory: string); execute(input: WriteToolInput): Promise<WriteToolResult>; getDefinition(): { name: string; description: string; inputSchema: { type: string; properties: { file_path: { type: string; description: string; }; content: { type: string; description: string; }; }; required: string[]; }; }; } //# sourceMappingURL=write-tool.d.ts.map