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
path(string, required) — Absolute or workspace-relative pathoffset(number) — Line offset for partial readslimit(number) — Max lines to return
Side effects
fs-read