UNPKG

@webdevtoday/grok-cli

Version:

A sophisticated CLI tool for interacting with xAI Grok 4, featuring conversation history, file reference, custom commands, memory system, and genetic development workflows

22 lines 605 B
/** * File writing tool */ import { BaseTool } from './base'; import type { ToolResult } from '../types'; export interface WriteParams { filePath: string; content: string; encoding?: string; createDirs?: boolean; } /** * Tool for writing files to the filesystem */ export declare class WriteTool extends BaseTool { constructor(); validateParams(params: Record<string, unknown>): boolean; execute(params: Record<string, unknown>): Promise<ToolResult>; getParameterSchema(): Record<string, unknown>; getUsageExamples(): string[]; } //# sourceMappingURL=write.d.ts.map