Read patch by file or chunk
antigravity_read_patchRead paginated patch content for a coding task, optionally filtered to one changed path, with each chunk bound to the full preview hash for verifiable, resumable review.
Instructions
Read at most 50000 UTF-16 units of the current patch, optionally selecting a changed path. Bind every read to the full preview hash. Follow nextOffset until hasMore is false. Use preview with includePatch false for metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| limit | No | ||
| offset | No | ||
| taskId | Yes | ||
| expectedSha256 | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| text | No | ||
| error | No | ||
| length | No | ||
| offset | No | ||
| sha256 | No | ||
| taskId | No | ||
| hasMore | No | ||
| nextOffset | No | ||
| offsetUnit | No | ||
| totalLength | No | ||
| contentSha256 | No |