← All atoms

read-file

tool-definition · v1.0.0

Read a file from the workspace. Read-only; no side effects beyond opening the file.

Tool signature

function read_file(path: string, offset: number?, limit: number?) → string

Read the contents of a file at the given path.

Parameters

Side effects

fs-read

Raw atom

/atoms/tool-definition/read-file.json · schema