Open Agent Loops
API Reference

FileReadRequest

@open-agent-loops/core


Defined in: tools/builtin/builtin.types.ts:211

A request to read a slice of a file.

Properties

PropertyTypeDescriptionDefined in
limit?numberUpper bound on the number of lines to return; the backend picks the default.tools/builtin/builtin.types.ts:217
offset?number1-based first line to return; the backend picks the default (conventionally line 1).tools/builtin/builtin.types.ts:215
pathstringPath of the file to read.tools/builtin/builtin.types.ts:213

On this page