Get project files
get_project_filesBEFORE ANY EDIT: read the CURRENT LIVE FILES of a deployed Dplooy project — the clean stored source, the ONLY source of truth for edits. Never scrape the site URL instead: served pages contain Dplooy-injected runtime (chatbot, badge, analytics) that is not part of the source. Call this BEFORE editing an existing site — edit against what is actually stored, never from memory (your memory of the site may be stale or from another conversation). Returns the full file inventory plus the text contents (HTML/CSS/JS). Use listOnly first on large sites, then fetch specific paths. After reading, make changes with update_project_files targeted edits ({ path, oldString, newString }) — never re-emit whole files for small changes, and never full-redeploy to edit (a redeploy replaces the whole site and deletes omitted files). Assigned forms, data, bookings and chatbot survive all edits unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | Return contents for these paths only, e.g. ['/index.html', '/css/style.css']. Omit to get every text file. | |
| listOnly | No | Return just the file inventory (paths, sizes, types) without any contents — start here on large sites | |
| projectId | Yes | The project ID (from deploy, list_projects or get_project) |