ReadSessionFileRequestBody

March 27, 2026 ยท View on GitHub

Example Usage

import { ReadSessionFileRequestBody } from "@vercel/sdk/models/readsessionfileop.js";

let value: ReadSessionFileRequestBody = {
  cwd: "/home/vercel-sandbox",
  path: "dist/agent-output.md",
};

Fields

FieldTypeRequiredDescriptionExample
cwdstring:heavy_minus_sign:The base directory for resolving relative paths. If not specified, paths are resolved from the sandbox home directory./home/vercel-sandbox
pathstring:heavy_check_mark:The path of the file to read. Can be absolute or relative to the working directory.dist/agent-output.md