Read a change
get_changeReads one change in full: what was asked, its edits to each file, what the checks found, its comments, and its page, where editors review and apply it. Use it after list_changes, to see what a change would do, or where it stands, before asking for something like it. A change waits in OKForest until an editor applies it; what has already reached the repository is get_history's. A change ID that isn't the tree's is an error saying so.
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>"
},
"name": "get_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The change's ID, as list_changes gives it. | |
| tree | No | The tree's slug, as list_trees gives it (not its name). Required unless the Forest has one tree. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | Who asked for it, by name. | |
| id | Yes | The change's ID: pass it to get_change. | |
| url | Yes | Its page in OKForest, where editors review and apply it. | |
| mine | Yes | Whether the person asking made it: only they revise it (propose_change with `change`) or withdraw it (withdraw_change). | |
| about | No | The page it was asked about, when it was asked from one. | |
| asked | Yes | When it was asked for (ISO 8601). | |
| edits | Yes | Its edits, one per file. | |
| paths | Yes | The files it creates, edits, moves, or deletes. | |
| state | Yes | Where it is: `requested` (asked for, waiting for an editor), `drafting` (accepted, an editor writing its edits), `in-review` (edits written, waiting for an editor to apply them), or done: `applied` (committed), `declined`, or `withdrawn` by whoever asked. | |
| title | Yes | What it does, in a few words: its commit's first line. | |
| applied | No | Who applied it, when, and in which commit. | |
| decided | No | The editor who accepted or declined it, and when. | |
| updated | Yes | When it last changed (ISO 8601). | |
| comments | Yes | Its comments, oldest first. | |
| findings | Yes | What the checks found on its pages when it was last saved. | |
| instruction | No | What was asked for, in the asker's words, when it was asked rather than edited. |