Read a change request's files
get_change_request_filesReads the files a change request changes, with each file's patch, a page at a time. Follow nextCursor for more files.
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": {
"workspace": "<workspace>",
"repository": "<repository>",
"number": "<number>"
},
"name": "get_change_request_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | nextCursor from the previous page. | |
| number | Yes | ||
| version | No | A version of the change request; default: its latest. | |
| workspace | Yes | Workspace slug from workspaces.list, e.g. "acme". | |
| repository | Yes | Repository name in this workspace, from list_repositories. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| truncated | Yes | ||
| nextCursor | Yes |