Read the code you are allowed to change
read_sourceThe current contents of this site's own source, which is what you need before propose_change. Called with no path it lists every file a change may touch, each with its size and sha256. Called with a path it returns that file's bytes, its digest, and rev, the digest of the whole writable source this deployment was built from. Read-only, no credential, and it reads the SNAPSHOT THE RUNNING DEPLOYMENT WAS BUILT FROM rather than a repository that may have moved on, so what you read is what is actually serving. PASS THE FILE'S sha256 BACK AS base_rev when you propose a change to a file that already exists: the door refuses a replacement based on any other revision, because a change here carries complete contents and a writer that has not read the file is guessing about every line it is not changing. Server routes are absent from the listing and refused by the change door: app/api/x/route.ts and app/x/route.ts answer a URL and run in this deployment's environment, which holds live credentials.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | A file to read, e.g. 'app/quiet/page.tsx'. Omit to list what exists. |