Open Agent Loops
API Reference

FileReadResult

@open-agent-loops/core


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

The selected slice of a file's contents.

Properties

PropertyTypeDescriptionDefined in
linesstring[]The selected lines, in order, each without its trailing newline.tools/builtin/builtin.types.ts:201
startLinenumber1-based number of the first returned line (echoes the resolved offset).tools/builtin/builtin.types.ts:203

On this page