Skip to content

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


Signature

type ReadArgs = typeof ReadParameters.Type

Source

Since v0.0.0

How the shown text was cut; the text itself is the result content.

Signature

export interface ReadDetails {
readonly truncation?: Omit<TruncationResult, "content">
}

Source

Since v0.0.0

Signature

declare const ReadParameters: any

Source

Since v0.0.0

A read tool.

Signature

declare const make: () => Tool.Tool<ReadArgs>

Source

Since v0.0.0