87 lines
2.1 KiB
TypeScript
87 lines
2.1 KiB
TypeScript
export declare const readFileTool: {
|
|
name: string;
|
|
description: string;
|
|
inputSchema: {
|
|
type: "object";
|
|
properties: {
|
|
path: {
|
|
type: string;
|
|
description: string;
|
|
};
|
|
start_line: {
|
|
type: string;
|
|
description: string;
|
|
};
|
|
end_line: {
|
|
type: string;
|
|
description: string;
|
|
};
|
|
};
|
|
required: string[];
|
|
};
|
|
};
|
|
export declare const writeFileTool: {
|
|
name: string;
|
|
description: string;
|
|
inputSchema: {
|
|
type: "object";
|
|
properties: {
|
|
path: {
|
|
type: string;
|
|
description: string;
|
|
};
|
|
content: {
|
|
type: string;
|
|
description: string;
|
|
};
|
|
create_dirs: {
|
|
type: string;
|
|
description: string;
|
|
};
|
|
};
|
|
required: string[];
|
|
};
|
|
};
|
|
export declare const patchFileTool: {
|
|
name: string;
|
|
description: string;
|
|
inputSchema: {
|
|
type: "object";
|
|
properties: {
|
|
path: {
|
|
type: string;
|
|
description: string;
|
|
};
|
|
old_text: {
|
|
type: string;
|
|
description: string;
|
|
};
|
|
new_text: {
|
|
type: string;
|
|
description: string;
|
|
};
|
|
replace_all: {
|
|
type: string;
|
|
description: string;
|
|
};
|
|
};
|
|
required: string[];
|
|
};
|
|
};
|
|
export declare function executeReadFile(args: {
|
|
path: string;
|
|
start_line?: number;
|
|
end_line?: number;
|
|
}): Promise<string>;
|
|
export declare function executeWriteFile(args: {
|
|
path: string;
|
|
content: string;
|
|
create_dirs?: boolean;
|
|
}): Promise<string>;
|
|
export declare function executePatchFile(args: {
|
|
path: string;
|
|
old_text: string;
|
|
new_text: string;
|
|
replace_all?: boolean;
|
|
}): Promise<string>;
|
|
//# sourceMappingURL=fileOps.d.ts.map
|