read_change_file
Reads an exact UTF-16 slice of a selected change file for revision-aware review, with offset paging and revision checks for unchanged results.
Instructions
Exact UTF-16 text slice of a selected change file, including metadata or verification logs. Follow nextOffset with expectedRevision; knownRevision returns unchanged. Binary/oversized files require repository file tools.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"path": "<path>"
},
"name": "read_change_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| path | Yes | ||
| limit | No | ||
| offset | No | ||
| knownRevision | No | ||
| workspacePath | No | Trusted absolute project path from this chat; pass on every call. null selects personal storage. Omission uses only the environment default. | |
| expectedRevision | No |