Read the built code
read_fileAccess Claude Design project files directly—no download required. Read large .dc.html files in slices using offset and limit for efficient retrieval.
Instructions
Read a file straight out of a Claude Design project, no download needed. A .dc.html page runs to hundreds of KB, so use offset/limit to read a slice, and search_code first to find the line you want.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Keep Claude Design's injected preview runtime instead of stripping it | |
| path | Yes | Project-relative path, e.g. Prototype.dc.html | |
| limit | No | How many lines. Omit for the whole file, subject to maxChars. | |
| offset | No | First line to return, 0-based | |
| maxChars | No | ||
| projectId | Yes |