tools/Read
The read tool: a text file, or a window of its lines. Remarks about truncation and continuation are diagnostics;
the content is only file text.
Since v0.0.0
ReadArgs (type alias)
Section titled “ReadArgs (type alias)”Signature
type ReadArgs = typeof ReadParameters.TypeSince v0.0.0
ReadDetails (interface)
Section titled “ReadDetails (interface)”How the shown text was cut; the text itself is the result content.
Signature
export interface ReadDetails { readonly truncation?: Omit<TruncationResult, "content">}Since v0.0.0
ReadParameters
Section titled “ReadParameters”Signature
declare const ReadParameters: anySince v0.0.0
A read tool.
Signature
declare const make: () => Tool.Tool<ReadArgs>Since v0.0.0