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 598 B
/** * File reading tool */ import { BaseTool } from './base'; import type { ToolResult } from '../types'; export interface ReadParams { filePath: string; encoding?: string; offset?: number; limit?: number; } /** * Tool for reading files from the filesystem */ export declare class ReadTool extends BaseTool { constructor(); validateParams(params: Record<string, unknown>): boolean; execute(params: Record<string, unknown>): Promise<ToolResult>; getParameterSchema(): Record<string, unknown>; getUsageExamples(): string[]; } //# sourceMappingURL=read.d.ts.map